using namespace llvm;
-void MCValue::print(raw_ostream &OS, const MCAsmInfo *MAI) const {
+void MCValue::print(raw_ostream &OS) const {
if (isAbsolute()) {
OS << getConstant();
return;
if (getRefKind())
OS << ':' << getRefKind() << ':';
- getSymA()->print(OS);
+ OS << *getSymA();
if (getSymB()) {
OS << " - ";
- getSymB()->print(OS);
+ OS << *getSymB();
}
if (getConstant())
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
void MCValue::dump() const {
- print(dbgs(), nullptr);
+ print(dbgs());
}
#endif