diff --git a/include/llvm/Target/MachineInstrInfo.h b/include/llvm/Target/MachineInstrInfo.h index 5c694f66797..988e787d20c 100644 --- a/include/llvm/Target/MachineInstrInfo.h +++ b/include/llvm/Target/MachineInstrInfo.h @@ -98,7 +98,8 @@ public: /// target specific assembly language. If this method is not overridden, the /// default implementation uses the crummy machine independant printer. /// - virtual void print(const MachineInstr *MI, std::ostream &O) const; + virtual void print(const MachineInstr *MI, std::ostream &O, + const TargetMachine &TM) const; const char *getName(MachineOpCode opCode) const { return get(opCode).Name; diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index 5c694f66797..988e787d20c 100644 --- a/include/llvm/Target/TargetInstrInfo.h +++ b/include/llvm/Target/TargetInstrInfo.h @@ -98,7 +98,8 @@ public: /// target specific assembly language. If this method is not overridden, the /// default implementation uses the crummy machine independant printer. /// - virtual void print(const MachineInstr *MI, std::ostream &O) const; + virtual void print(const MachineInstr *MI, std::ostream &O, + const TargetMachine &TM) const; const char *getName(MachineOpCode opCode) const { return get(opCode).Name;