Release build: guard dump functions with "ifndef NDEBUG"
[oota-llvm.git] / lib / MC / MCValue.cpp
index c6ea16ce7b4da3e0b35f4037ac3250bf66d54497..a37149d78893f6f15b81c80dda2bf4cc734c7f06 100644 (file)
@@ -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