aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvm-upgrade
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-03-22 07:43:51 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-03-22 07:43:51 +0000
commit2b48420c642de2fbf68a96d9b0bf45b5379455f3 (patch)
treea04360d6fc494cde45e73c7520983130949a3089 /tools/llvm-upgrade
parentd69bfb38f4f66d093104ed14c89b76b81413b297 (diff)
downloadexternal_llvm-2b48420c642de2fbf68a96d9b0bf45b5379455f3.zip
external_llvm-2b48420c642de2fbf68a96d9b0bf45b5379455f3.tar.gz
external_llvm-2b48420c642de2fbf68a96d9b0bf45b5379455f3.tar.bz2
Unbreak non-debug builds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35264 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-upgrade')
-rw-r--r--tools/llvm-upgrade/UpgradeParser.cpp.cvs2
-rw-r--r--tools/llvm-upgrade/UpgradeParser.y2
-rw-r--r--tools/llvm-upgrade/UpgradeParser.y.cvs2
3 files changed, 6 insertions, 0 deletions
diff --git a/tools/llvm-upgrade/UpgradeParser.cpp.cvs b/tools/llvm-upgrade/UpgradeParser.cpp.cvs
index 9d5a1da..93d91d3 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 ab06bb4..f03a8c4 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 ab06bb4..f03a8c4 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) {