mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-14 07:31:39 +00:00
Pass on a targetmachine
llvm-svn: 4736
This commit is contained in:
parent
e138d4fbc8
commit
f0a1010d2c
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user