+ hook_replace(old, nw);
+
+ /*
+ * If new outs are on, we can skip the id node creation and reroute
+ * the edges from the old node to the new directly.
+ */
+ if (edges_activated(current_ir_graph)) {
+ edges_reroute(old, nw, current_ir_graph);
+ }
+ else {
+ /* Else, do it the old-fashioned way. */
+
+ ir_graph *irg = get_irn_irg (old);
+ ir_node *block;