Changes in directory llvm/lib/Target/IA64:

IA64ISelDAGToDAG.cpp updated: 1.42 -> 1.43
---
Log message:

Ensure that dump calls that are associated with asserts are removed from
non-debug build.


---
Diffs of the changes:  (+1 -1)

 IA64ISelDAGToDAG.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp
diff -u llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp:1.42 
llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp:1.43
--- llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp:1.42      Wed May 24 19:24:28 2006
+++ llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp   Tue Jul 11 12:58:07 2006
@@ -511,7 +511,7 @@
       N->getValueType(0) : cast<VTSDNode>(N->getOperand(3))->getVT();
     unsigned Opc;
     switch (TypeBeingLoaded) {
-    default: N->dump(); assert(0 && "Cannot load this type!");
+    default: DEBUG(N->dump()); 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!



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to