X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=ir%2Fopt%2Fboolopt.c;h=45289d44cb9a08d0c2d08afbc427f1df2449caa4;hb=d5dc732caa60b3ccaca0d6f36d6c4ad6e601f92f;hp=6ff2a34c71f01177feb570688ed3518d37480f1c;hpb=a169b4d8ce0f7187ed45f9142f28fd0600588ded;p=libfirm diff --git a/ir/opt/boolopt.c b/ir/opt/boolopt.c index 6ff2a34c7..45289d44c 100644 --- a/ir/opt/boolopt.c +++ b/ir/opt/boolopt.c @@ -426,7 +426,7 @@ void opt_bool(ir_graph *const irg) { irg_walk_graph(irg, NULL, bool_walk, NULL); - set_using_block_mark(irg); + ir_reserve_resources(irg, IR_RESOURCE_BLOCK_MARK); irg_walk_graph(irg, clear_block_infos, collect_phis, NULL); @@ -437,5 +437,5 @@ void opt_bool(ir_graph *const irg) set_irg_extblk_inconsistent(irg); set_irg_loopinfo_inconsistent(irg); - clear_using_block_mark(irg); + ir_free_resources(irg, IR_RESOURCE_BLOCK_MARK); }