projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Release build: guard dump functions with "ifndef NDEBUG"
[oota-llvm.git]
/
lib
/
MC
/
MCValue.cpp
diff --git
a/lib/MC/MCValue.cpp
b/lib/MC/MCValue.cpp
index c6ea16ce7b4da3e0b35f4037ac3250bf66d54497..a37149d78893f6f15b81c80dda2bf4cc734c7f06 100644
(file)
--- 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