projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[X86][Haswell][SchedModel] Add architecture specific scheduling models.
[oota-llvm.git]
/
lib
/
MC
/
MCInst.cpp
diff --git
a/lib/MC/MCInst.cpp
b/lib/MC/MCInst.cpp
index e96010bd5c860dc898d453436318242be244ce3c..d7b80f589057e6d34e18df4e5cdf007bcf2707b9 100644
(file)
--- a/
lib/MC/MCInst.cpp
+++ b/
lib/MC/MCInst.cpp
@@
-32,9
+32,9
@@
void MCOperand::print(raw_ostream &OS, const MCAsmInfo *MAI) const {
OS << ">";
}
OS << ">";
}
-#if
ndef NDEBUG
+#if
!defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
void MCOperand::dump() const {
void MCOperand::dump() const {
- print(dbgs(),
0
);
+ print(dbgs(),
nullptr
);
dbgs() << "\n";
}
#endif
dbgs() << "\n";
}
#endif
@@
-64,9
+64,9
@@
void MCInst::dump_pretty(raw_ostream &OS, const MCAsmInfo *MAI,
OS << ">";
}
OS << ">";
}
-#if
ndef NDEBUG
+#if
!defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
void MCInst::dump() const {
void MCInst::dump() const {
- print(dbgs(),
0
);
+ print(dbgs(),
nullptr
);
dbgs() << "\n";
}
#endif
dbgs() << "\n";
}
#endif