diff options
| author | Bill Wendling <isanbard@gmail.com> | 2013-06-07 07:04:14 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2013-06-07 07:04:14 +0000 |
| commit | ead89ef63e9de8069085f7fe908c64bb990bc4d9 (patch) | |
| tree | 4c3be84aa62883d1e9c283c1dcfb76844a9eeebd /llvm/lib/Target/Mips/MipsConstantIslandPass.cpp | |
| parent | f5358213644b38e1d85ad2ce12ffa6c1cf319f57 (diff) | |
| download | bcm5719-llvm-ead89ef63e9de8069085f7fe908c64bb990bc4d9.tar.gz bcm5719-llvm-ead89ef63e9de8069085f7fe908c64bb990bc4d9.zip | |
Don't cache the instruction and register info from the TargetMachine, because
the internals of TargetMachine could change.
llvm-svn: 183493
Diffstat (limited to 'llvm/lib/Target/Mips/MipsConstantIslandPass.cpp')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsConstantIslandPass.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Target/Mips/MipsConstantIslandPass.cpp b/llvm/lib/Target/Mips/MipsConstantIslandPass.cpp index 1951324cf1a..bda01672c09 100644 --- a/llvm/lib/Target/Mips/MipsConstantIslandPass.cpp +++ b/llvm/lib/Target/Mips/MipsConstantIslandPass.cpp @@ -50,7 +50,6 @@ namespace { static char ID; MipsConstantIslands(TargetMachine &tm) : MachineFunctionPass(ID), TM(tm), - TII(static_cast<const MipsInstrInfo*>(tm.getInstrInfo())), IsPIC(TM.getRelocationModel() == Reloc::PIC_), ABI(TM.getSubtarget<MipsSubtarget>().getTargetABI()) {} @@ -61,13 +60,9 @@ namespace { bool runOnMachineFunction(MachineFunction &F); private: - - const TargetMachine &TM; - const MipsInstrInfo *TII; bool IsPIC; unsigned ABI; - }; char MipsConstantIslands::ID = 0; |

