projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ecb396
)
execute finish in the finish phase not in the after_ra phase
author
Matthias Braun
<matze@braunis.de>
Tue, 11 Sep 2007 11:27:44 +0000
(11:27 +0000)
committer
Matthias Braun
<matze@braunis.de>
Tue, 11 Sep 2007 11:27:44 +0000
(11:27 +0000)
[r15741]
ir/be/ia32/bearch_ia32.c
patch
|
blob
|
history
diff --git
a/ir/be/ia32/bearch_ia32.c
b/ir/be/ia32/bearch_ia32.c
index
ad5ed6f
..
f26ccce
100644
(file)
--- a/
ir/be/ia32/bearch_ia32.c
+++ b/
ir/be/ia32/bearch_ia32.c
@@
-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);