diff options
Diffstat (limited to 'llvm/lib/MC/MCInst.cpp')
-rw-r--r-- | llvm/lib/MC/MCInst.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCInst.cpp b/llvm/lib/MC/MCInst.cpp index c0c7e41c3da..f6d1d3cffca 100644 --- a/llvm/lib/MC/MCInst.cpp +++ b/llvm/lib/MC/MCInst.cpp @@ -35,7 +35,7 @@ void MCOperand::print(raw_ostream &OS) const { OS << ">"; } -#ifdef LLVM_ENABLE_DUMP +#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) LLVM_DUMP_METHOD void MCOperand::dump() const { print(dbgs()); dbgs() << "\n"; @@ -66,7 +66,7 @@ void MCInst::dump_pretty(raw_ostream &OS, const MCInstPrinter *Printer, OS << ">"; } -#ifdef LLVM_ENABLE_DUMP +#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) LLVM_DUMP_METHOD void MCInst::dump() const { print(dbgs()); dbgs() << "\n"; |