diff options
| author | Eric Christopher <echristo@gmail.com> | 2015-03-12 05:12:31 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2015-03-12 05:12:31 +0000 |
| commit | 34085832f8e7e86e328a1ae16fc41d7716a0c04d (patch) | |
| tree | e40aa75b9c978990dfab3e671ba6588c5f7101f1 /llvm/lib/Target/ARM/Thumb2InstrInfo.cpp | |
| parent | 0ea61e91dc7724d628fa0600afa705d511175fe7 (diff) | |
| download | bcm5719-llvm-34085832f8e7e86e328a1ae16fc41d7716a0c04d.tar.gz bcm5719-llvm-34085832f8e7e86e328a1ae16fc41d7716a0c04d.zip | |
Remove the need to cache the subtarget in the ARM TargetRegisterInfo
classes. Replace the frame pointer initialization with a static function
that'll look it up via the subtarget on the MachineFunction.
llvm-svn: 232010
Diffstat (limited to 'llvm/lib/Target/ARM/Thumb2InstrInfo.cpp')
| -rw-r--r-- | llvm/lib/Target/ARM/Thumb2InstrInfo.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/Thumb2InstrInfo.cpp b/llvm/lib/Target/ARM/Thumb2InstrInfo.cpp index 62c37526381..26ca7e90e4c 100644 --- a/llvm/lib/Target/ARM/Thumb2InstrInfo.cpp +++ b/llvm/lib/Target/ARM/Thumb2InstrInfo.cpp @@ -30,8 +30,7 @@ OldT2IfCvt("old-thumb2-ifcvt", cl::Hidden, cl::init(false)); Thumb2InstrInfo::Thumb2InstrInfo(const ARMSubtarget &STI) - : ARMBaseInstrInfo(STI), RI(STI) { -} + : ARMBaseInstrInfo(STI), RI() {} /// getNoopForMachoTarget - Return the noop instruction to use for a noop. void Thumb2InstrInfo::getNoopForMachoTarget(MCInst &NopInst) const { |

