Pass on a targetmachine

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4736 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-11-17 23:22:03 +00:00
parent fe30dd3f23
commit 3b49394f4f

View File

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