Pass on a targetmachine

llvm-svn: 4736
This commit is contained in:
Chris Lattner 2002-11-17 23:22:03 +00:00
parent e138d4fbc8
commit f0a1010d2c

View File

@ -33,8 +33,9 @@ MachineInstrInfo::~MachineInstrInfo() {
TargetInstrDescriptors = NULL; // reset global variable
}
void MachineInstrInfo::print(const MachineInstr *MI, std::ostream &O) const {
O << *MI;
void MachineInstrInfo::print(const MachineInstr *MI, std::ostream &O,
const TargetMachine &TM) const {
MI->print(O, TM);
}
bool MachineInstrInfo::constantFitsInImmedField(MachineOpCode opCode,