#include "irprintf.h"
#include "irgopt.h"
#include "irtools.h"
+#include "array_t.h"
/**
* Walker environment.
* @param env statistical environment
*/
static void handle_modeb(ir_node *block, ir_node *selector, pn_Cond pnc, env_t *env) {
- ir_node *cond, *old, *cond_block, *other_blk = NULL, *con = NULL;
+ ir_node *cond, *old, *cond_block = NULL, *other_blk = NULL, *con = NULL;
ir_node *c_b = NULL, *c_o = NULL;
const ir_edge_t *edge, *next;
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.