projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edc32d1
)
Use exact_copy() instead of copy_irn_to_irg()
author
Christoph Mallon
<christoph.mallon@gmx.de>
Fri, 19 May 2006 08:14:32 +0000
(08:14 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Fri, 19 May 2006 08:14:32 +0000
(08:14 +0000)
[r7777]
ir/opt/ifconv.c
patch
|
blob
|
history
diff --git
a/ir/opt/ifconv.c
b/ir/opt/ifconv.c
index
f77a75d
..
aa38e62
100644
(file)
--- a/
ir/opt/ifconv.c
+++ b/
ir/opt/ifconv.c
@@
-97,8
+97,7
@@
static ir_node* copy_to(ir_node* node, ir_node* src_block, int i)
if (get_nodes_block(node) != src_block) return node;
if (get_irn_op(node) == op_Phi) return get_irn_n(node, i);
- copy_irn_to_irg(node, current_ir_graph);
- copy = get_irn_link(node);
+ copy = exact_copy(node);
dst_block = get_nodes_block(get_irn_n(src_block, i));
set_nodes_block(copy, dst_block);