From 2b48420c642de2fbf68a96d9b0bf45b5379455f3 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Thu, 22 Mar 2007 07:43:51 +0000 Subject: [PATCH] Unbreak non-debug builds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35264 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-upgrade/UpgradeParser.cpp.cvs | 2 ++ tools/llvm-upgrade/UpgradeParser.y | 2 ++ tools/llvm-upgrade/UpgradeParser.y.cvs | 2 ++ 3 files changed, 6 insertions(+) diff --git a/tools/llvm-upgrade/UpgradeParser.cpp.cvs b/tools/llvm-upgrade/UpgradeParser.cpp.cvs index 9d5a1da7629..93d91d32831 100644 --- a/tools/llvm-upgrade/UpgradeParser.cpp.cvs +++ b/tools/llvm-upgrade/UpgradeParser.cpp.cvs @@ -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) { diff --git a/tools/llvm-upgrade/UpgradeParser.y b/tools/llvm-upgrade/UpgradeParser.y index ab06bb4789b..f03a8c43b65 100644 --- a/tools/llvm-upgrade/UpgradeParser.y +++ b/tools/llvm-upgrade/UpgradeParser.y @@ -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) { diff --git a/tools/llvm-upgrade/UpgradeParser.y.cvs b/tools/llvm-upgrade/UpgradeParser.y.cvs index ab06bb4789b..f03a8c43b65 100644 --- a/tools/llvm-upgrade/UpgradeParser.y.cvs +++ b/tools/llvm-upgrade/UpgradeParser.y.cvs @@ -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) { -- 2.34.1