Ensure that dump calls that are associated with asserts are removed from

non-debug build.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29105 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Laskey
2006-07-11 17:58:07 +00:00
parent e2a78f2e3d
commit e37fe9b3a1
7 changed files with 23 additions and 12 deletions

View File

@@ -421,7 +421,7 @@ void ScheduleDAG::EmitNode(SDNode *Node,
} else {
switch (Node->getOpcode()) {
default:
Node->dump();
DEBUG(Node->dump());
assert(0 && "This target-independent node should have been selected!");
case ISD::EntryToken: // fall thru
case ISD::TokenFactor: