Release build: guard dump functions with "ifndef NDEBUG"
[oota-llvm.git] / lib / MC / MCLabel.cpp
index 9c0fc92e6c055af40987efcf4a50eb392ee3f718..95d7d16a19ab3d179380a8d40a1faf62364b484e 100644 (file)
@@ -16,6 +16,8 @@ void MCLabel::print(raw_ostream &OS) const {
   OS << '"' << getInstance() << '"';
 }
 
+#ifndef NDEBUG
 void MCLabel::dump() const {
   print(dbgs());
 }
+#endif