projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d790da4
)
we should normalize to multiple returns (it's not working though)
author
Matthias Braun
<matze@braunis.de>
Wed, 16 May 2007 17:22:01 +0000
(17:22 +0000)
committer
Matthias Braun
<matze@braunis.de>
Wed, 16 May 2007 17:22:01 +0000
(17:22 +0000)
[r13909]
ir/be/bemain.c
patch
|
blob
|
history
diff --git
a/ir/be/bemain.c
b/ir/be/bemain.c
index
0b772df
..
fb84b22
100644
(file)
--- a/
ir/be/bemain.c
+++ b/
ir/be/bemain.c
@@
-312,8
+312,9
@@
static void initialize_birg(be_irg_t *birg, ir_graph *irg, be_main_env_t *env)
/* Normalize proj nodes. */
normalize_proj_nodes(irg);
- /* Make just one return node. */
- normalize_one_return(irg);
+ /* create multiple return nodes */
+ /* TODO: find out why this does nothing */
+ normalize_n_returns(irg);
/* Remove critical edges */
remove_critical_cf_edges(irg);