Commit 2a8dea57 authored by Matthias Braun's avatar Matthias Braun
Browse files

execute finish in the finish phase not in the after_ra phase

[r15741]
parent 2ecb396f
......@@ -1301,8 +1301,6 @@ static void ia32_after_ra(void *self) {
be_free_frame_entity_coalescer(fec_env);
irg_block_walk_graph(irg, NULL, ia32_after_ra_walker, cg);
ia32_finish_irg(irg, cg);
}
/**
......@@ -1314,6 +1312,8 @@ static void ia32_finish(void *self) {
ia32_code_gen_t *cg = self;
ir_graph *irg = cg->irg;
ia32_finish_irg(irg, cg);
/* we might have to rewrite x87 virtual registers */
if (cg->do_x87_sim) {
x87_simulate_graph(cg->arch_env, cg->birg);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment