Commit 9191a082 authored by Gernot Veit Batz's avatar Gernot Veit Batz
Browse files

added missing edges_notify_edge() to set_irn_in()

[r6667]
parent 1494f05d
......@@ -223,6 +223,7 @@ get_irn_in (const ir_node *node) {
void
set_irn_in (ir_node *node, int arity, ir_node **in) {
int i;
ir_node *** arr;
assert(node);
if (get_interprocedural_view()) { /* handle Filter and Block specially */
......@@ -243,6 +244,11 @@ set_irn_in (ir_node *node, int arity, ir_node **in) {
(*arr)[0] = block;
}
fix_backedges(current_ir_graph->obst, node);
for (i = 0; i < arity; i++) {
edges_notify_edge(node, i, in[i], (*arr)[i+1], current_ir_graph);
}
memcpy((*arr) + 1, in, sizeof(ir_node *) * arity);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment