summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCInst.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/MC/MCInst.cpp')
-rw-r--r--llvm/lib/MC/MCInst.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCInst.cpp b/llvm/lib/MC/MCInst.cpp
index 521b57fa239..7ef69be66df 100644
--- a/llvm/lib/MC/MCInst.cpp
+++ b/llvm/lib/MC/MCInst.cpp
@@ -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
OpenPOWER on IntegriCloud