aboutsummaryrefslogtreecommitdiff
path: root/lib/MC/MCValue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MC/MCValue.cpp')
-rw-r--r--lib/MC/MCValue.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/MC/MCValue.cpp b/lib/MC/MCValue.cpp
index c6ea16ce7b..a37149d788 100644
--- a/lib/MC/MCValue.cpp
+++ b/lib/MC/MCValue.cpp
@@ -31,6 +31,8 @@ void MCValue::print(raw_ostream &OS, const MCAsmInfo *MAI) const {
OS << " + " << getConstant();
}
+#ifndef NDEBUG
void MCValue::dump() const {
print(dbgs(), 0);
}
+#endif