X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fia32%2Fia32_x87.c;h=ac1d0d36fc94fc783d432ed9e41da4e6a7214793;hb=205396c4f4f5abe7abd6dc2350c8c398a7623afc;hp=4061b6a3d7c7ae930490733333c2ba1fb37219d0;hpb=d16d39df6772995a29ecdc8de1904ccb2e523599;p=libfirm diff --git a/ir/be/ia32/ia32_x87.c b/ir/be/ia32/ia32_x87.c index 4061b6a3d..ac1d0d36f 100644 --- a/ir/be/ia32/ia32_x87.c +++ b/ir/be/ia32/ia32_x87.c @@ -2102,7 +2102,7 @@ void x87_simulate_graph(const arch_env_t *arch_env, be_irg_t *birg) { ir_node *block, *start_block; blk_state *bl_state; x87_simulator sim; - ir_graph *irg = birg->irg; + ir_graph *irg = be_get_birg_irg(birg); /* create the simulator */ x87_init_simulator(&sim, irg, arch_env); @@ -2119,7 +2119,7 @@ void x87_simulate_graph(const arch_env_t *arch_env, be_irg_t *birg) { be_invalidate_liveness(birg); be_assure_liveness(birg); - sim.lv = birg->lv; + sim.lv = be_get_birg_liveness(birg); /* Calculate the liveness for all nodes. We must precalculate this info, * because the simulator adds new nodes (possible before Phi nodes) which