#include "iropt_dbg.h"
#include "archop.h"
#include "irop.h"
+#include "error.h"
/* when we need verifying */
#ifdef NDEBUG
ir_node *res;
if (! op_Min) {
- assert(0);
- return NULL;
+ panic("cannot create Min node, not allowed");
}
in[0] = op1;
ir_node *res;
if (! op_Max) {
- assert(0);
- return NULL;
+ panic("cannot create Max node, not allowed");
}
in[0] = op1;
return n;
cmp = get_Proj_pred(proj);
- if (get_irn_op(cmp) == op_Cmp) {
+ if (is_Cmp(cmp)) {
ir_node *a = get_Cmp_left(cmp);
ir_node *b = get_Cmp_right(cmp);
ir_node *t = get_Mux_true(n);