projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4877552
)
opt_inline: Move all start block placed nodes to the callee's start block, not just...
author
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 6 Dec 2012 11:49:43 +0000
(12:49 +0100)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 6 Dec 2012 11:49:43 +0000
(12:49 +0100)
ir/opt/opt_inline.c
patch
|
blob
|
history
diff --git
a/ir/opt/opt_inline.c
b/ir/opt/opt_inline.c
index
6dc3dc5
..
7c521d0
100644
(file)
--- a/
ir/opt/opt_inline.c
+++ b/
ir/opt/opt_inline.c
@@
-131,7
+131,7
@@
static void set_preds_inline(ir_node *node, void *env)
/* move constants into start block */
new_node = get_new_node(node);
- if (is_irn_
constlike
(new_node)) {
+ if (is_irn_
start_block_placed
(new_node)) {
ir_graph *new_irg = (ir_graph *) env;
ir_node *start_block = get_irg_start_block(new_irg);
set_nodes_block(new_node, start_block);