mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
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:
parent
fe30dd3f23
commit
3b49394f4f
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user