edges_deactivate(irg);
} /* construct_confirms */
+#if 0
/**
* Post-walker: Remove Confirm nodes
*/
static void rem_Confirm(ir_node *n, void *env) {
(void) env;
- if (get_irn_op(n) == op_Confirm) {
+ if (is_Confirm(n)) {
ir_node *value = get_Confirm_value(n);
if (value != n)
exchange(n, value);
}
}
} /* rem_Confirm */
+#endif
/*
* Remove all Confirm nodes from a graph.