using namespace llvm;
-void MCValue::print(raw_ostream &OS) const {
+void MCValue::print(raw_ostream &OS, const MCAsmInfo *MAI) const {
if (isAbsolute()) {
OS << getConstant();
return;
}
- getSymA()->print(OS);
+ getSymA()->print(OS, MAI);
if (getSymB()) {
OS << " - ";
- getSymB()->print(OS);
+ getSymB()->print(OS, MAI);
}
if (getConstant())
}
void MCValue::dump() const {
- print(errs());
+ print(errs(), 0);
}