Commit f9a6c6a7 authored by Michael Beck's avatar Michael Beck
Browse files

- use is_Confirm() instead of old style compare

parent 82caacf1
......@@ -459,7 +459,7 @@ void construct_confirms(ir_graph *irg) {
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);
Markdown is supported
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