basicblock: use state monad to save all targets from previous pass
authorBernhard Urban <lewurm@gmail.com>
Sun, 2 Sep 2012 18:36:53 +0000 (20:36 +0200)
committerBernhard Urban <lewurm@gmail.com>
Sun, 2 Sep 2012 19:04:35 +0000 (21:04 +0200)
commit022b945b3f13f7f855fa304fcf0ece0967fa508d
treebe762f970ea9de9f2a09d26df4b6e4c65f261ff8
parentf10d1bdc437ca6e91890d4f97f1844eacbe418de
basicblock: use state monad to save all targets from previous pass

speedup at BigInstance1: 6s -> 2s
Mate/BasicBlocks.hs
Mate/X86CodeGen.hs