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
/
MCLabel.cpp
diff --git
a/lib/MC/MCLabel.cpp
b/lib/MC/MCLabel.cpp
index 9c0fc92e6c055af40987efcf4a50eb392ee3f718..95d7d16a19ab3d179380a8d40a1faf62364b484e 100644
(file)
--- a/
lib/MC/MCLabel.cpp
+++ b/
lib/MC/MCLabel.cpp
@@
-16,6
+16,8
@@
void MCLabel::print(raw_ostream &OS) const {
OS << '"' << getInstance() << '"';
}
+#ifndef NDEBUG
void MCLabel::dump() const {
print(dbgs());
}
+#endif