aboutsummaryrefslogtreecommitdiff
path: root/lib/MC/MCAsmMacro.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MC/MCAsmMacro.cpp')
-rw-r--r--lib/MC/MCAsmMacro.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/MC/MCAsmMacro.cpp b/lib/MC/MCAsmMacro.cpp
index ba4fb7d4f387..186a68b02a29 100644
--- a/lib/MC/MCAsmMacro.cpp
+++ b/lib/MC/MCAsmMacro.cpp
@@ -11,6 +11,7 @@
using namespace llvm;
+#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
void MCAsmMacroParameter::dump(raw_ostream &OS) const {
OS << "\"" << Name << "\"";
if (Required)
@@ -39,3 +40,4 @@ void MCAsmMacro::dump(raw_ostream &OS) const {
}
OS << " (BEGIN BODY)" << Body << "(END BODY)\n";
}
+#endif