std::map<Value*, unsigned>::iterator I = ValueNodes.find(V);
if (I == ValueNodes.end()) {
- DEBUG(V->dump());
+#ifndef NDEBUG
+ V->dump();
+#endif
assert(0 && "Value does not have a node in the points-to graph!");
}
return &GraphNodes[I->second];
N->getValueType(0) : cast<VTSDNode>(N->getOperand(3))->getVT();
unsigned Opc;
switch (TypeBeingLoaded) {
- default: DEBUG(N->dump()); assert(0 && "Cannot load this type!");
+ default:
+#ifndef NDEBUG
+ N->dump();
+#endif
+ assert(0 && "Cannot load this type!");
case MVT::i1: { // this is a bool
Opc = IA64::LD1; // first we load a byte, then compare for != 0
if(N->getValueType(0) == MVT::i1) { // XXX: early exit!
if (DefInit *Pred = dynamic_cast<DefInit*>(Predicates->getElement(i))) {
Record *Def = Pred->getDef();
if (!Def->isSubClassOf("Predicate")) {
- DEBUG(Def->dump());
+#ifndef NDEBUG
+ Def->dump();
+#endif
assert(0 && "Unknown predicate type!");
}
if (!PredicateCheck.empty())
emitCheck("cast<CondCodeSDNode>(" + RootName + utostr(OpNo) +
")->get() == ISD::" + LeafRec->getName());
} else {
- DEBUG(Child->dump());
+#ifndef NDEBUG
+ Child->dump();
std::cerr << " ";
+#endif
assert(0 && "Unknown leaf type!");
}
} else if (IntInit *II =
emitCheck("CN" + utostr(CTmp) + " == " +itostr(II->getValue()));
} else {
- DEBUG(Child->dump());
+#ifndef NDEBUG
+ Child->dump();
+#endif
assert(0 && "Unknown leaf type!");
}
}
return std::make_pair(1, ResNo);
}
- DEBUG(N->dump());
+#ifndef NDEBUG
+ N->dump();
+#endif
assert(0 && "Unknown leaf type!");
return std::make_pair(1, ~0U);
}