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) {