mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Don't cache the instruction and register info from the TargetMachine, because
the internals of TargetMachine could change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183493 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -65,8 +65,7 @@ class MipsCodeEmitter : public MachineFunctionPass {
|
||||
|
||||
public:
|
||||
MipsCodeEmitter(TargetMachine &tm, JITCodeEmitter &mce)
|
||||
: MachineFunctionPass(ID), JTI(0),
|
||||
II((const MipsInstrInfo *) tm.getInstrInfo()), TD(tm.getDataLayout()),
|
||||
: MachineFunctionPass(ID), JTI(0), II(0), TD(0),
|
||||
TM(tm), MCE(mce), MCPEs(0), MJTEs(0),
|
||||
IsPIC(TM.getRelocationModel() == Reloc::PIC_) {}
|
||||
|
||||
|
Reference in New Issue
Block a user