diff --git a/llvm/tools/llvm-upgrade/UpgradeParser.cpp.cvs b/llvm/tools/llvm-upgrade/UpgradeParser.cpp.cvs index 9d5a1da76290..93d91d328316 100644 --- a/llvm/tools/llvm-upgrade/UpgradeParser.cpp.cvs +++ b/llvm/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/llvm/tools/llvm-upgrade/UpgradeParser.y b/llvm/tools/llvm-upgrade/UpgradeParser.y index ab06bb4789b8..f03a8c43b65a 100644 --- a/llvm/tools/llvm-upgrade/UpgradeParser.y +++ b/llvm/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/llvm/tools/llvm-upgrade/UpgradeParser.y.cvs b/llvm/tools/llvm-upgrade/UpgradeParser.y.cvs index ab06bb4789b8..f03a8c43b65a 100644 --- a/llvm/tools/llvm-upgrade/UpgradeParser.y.cvs +++ b/llvm/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) {