Unbreak non-debug builds.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 22 Mar 2007 07:43:51 +0000 (07:43 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 22 Mar 2007 07:43:51 +0000 (07:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35264 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-upgrade/UpgradeParser.cpp.cvs
tools/llvm-upgrade/UpgradeParser.y
tools/llvm-upgrade/UpgradeParser.y.cvs

index 9d5a1da76290cb6780bd2c39b3ff57e46754d23c..93d91d328316d53b690063afdd6ce7766340bf2d 100644 (file)
@@ -1542,6 +1542,7 @@ void Signedness::destroy() {
   } 
 }
 
+#ifndef NDEBUG
 void Signedness::dump() const {
   if (isComposite()) {
     if (sv->size() == 1) {
@@ -1565,6 +1566,7 @@ void Signedness::dump() const {
   } else
     std::cerr << ".";
 }
+#endif
 
 static inline Instruction::TermOps 
 getTermOp(TermOps op) {
index ab06bb4789b8d2fb302ee6ecc7da67d4476a35e3..f03a8c43b65a29128bf9131527c310e7447a41c5 100644 (file)
@@ -1182,6 +1182,7 @@ void Signedness::destroy() {
   } 
 }
 
+#ifndef NDEBUG
 void Signedness::dump() const {
   if (isComposite()) {
     if (sv->size() == 1) {
@@ -1205,6 +1206,7 @@ void Signedness::dump() const {
   } else
     std::cerr << ".";
 }
+#endif
 
 static inline Instruction::TermOps 
 getTermOp(TermOps op) {
index ab06bb4789b8d2fb302ee6ecc7da67d4476a35e3..f03a8c43b65a29128bf9131527c310e7447a41c5 100644 (file)
@@ -1182,6 +1182,7 @@ void Signedness::destroy() {
   } 
 }
 
+#ifndef NDEBUG
 void Signedness::dump() const {
   if (isComposite()) {
     if (sv->size() == 1) {
@@ -1205,6 +1206,7 @@ void Signedness::dump() const {
   } else
     std::cerr << ".";
 }
+#endif
 
 static inline Instruction::TermOps 
 getTermOp(TermOps op) {