summaryrefslogtreecommitdiffhomepage
path: root/ir/common
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2014-12-26 19:26:04 +0100
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-01-12 10:54:48 +0100
commit34c76679d597fdfed1a523279359ede9b261693a (patch)
treecc14efa00a5daa5897928e16044435286f1aa53a /ir/common
parent1ae6d18b68ca36457db8cd42e3bf5e3d49d98f1c (diff)
ir: Remove dependency edges.
Diffstat (limited to 'ir/common')
-rw-r--r--ir/common/irtools.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/ir/common/irtools.c b/ir/common/irtools.c
index 9533e80..3c34cbc 100644
--- a/ir/common/irtools.c
+++ b/ir/common/irtools.c
@@ -61,9 +61,6 @@ ir_node *irn_copy_into_irg(const ir_node *node, ir_graph *irg)
/* copy the attributes */
copy_node_attr(irg, node, res);
- /* duplicate dependency edges */
- add_irn_deps(res, node);
-
return res;
}
@@ -91,12 +88,6 @@ void irn_rewire_inputs(ir_node *node)
set_irn_n(new_node, i, new_in);
}
- for (int i = 0, n_deps = get_irn_n_deps(new_node); i < n_deps; ++i) {
- ir_node *dep = get_irn_dep(node, i);
- ir_node *new_dep = get_new_node(dep);
- set_irn_dep(new_node, i, new_dep);
- }
-
/* Now the new node is complete. We can add it to the hash table for CSE. */
add_identities(new_node);
}