aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {