]> granicus.if.org Git - llvm/commitdiff
Fixup.
authorSean Silva <chisophugis@gmail.com>
Thu, 5 Feb 2015 01:13:47 +0000 (01:13 +0000)
committerSean Silva <chisophugis@gmail.com>
Thu, 5 Feb 2015 01:13:47 +0000 (01:13 +0000)
Didn't see these calls in my release build locally when testing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228254 91177308-0d34-0410-b5e6-96231b3b80d8

lib/MC/MCInst.cpp

index 521b57fa2395c98eaa9df915a30353abec3ef432..7ef69be66df64e07dd2f6ad20174b0ffd62d23fe 100644 (file)
@@ -34,7 +34,7 @@ void MCOperand::print(raw_ostream &OS) const {
 
 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
 void MCOperand::dump() const {
-  print(dbgs(), nullptr);
+  print(dbgs());
   dbgs() << "\n";
 }
 #endif
@@ -65,7 +65,7 @@ void MCInst::dump_pretty(raw_ostream &OS, const MCInstPrinter *Printer,
 
 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
 void MCInst::dump() const {
-  print(dbgs(), nullptr);
+  print(dbgs());
   dbgs() << "\n";
 }
 #endif