diff options
author | Eric Christopher <echristo@gmail.com> | 2015-03-12 05:55:26 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2015-03-12 05:55:26 +0000 |
commit | 8bb838ac0766c6873a02a6ba8cd36181b7a09ccf (patch) | |
tree | 491b605eb480547d6cb3e46cd837387e00b570cf /llvm/lib/Target/Sparc/SparcInstrInfo.cpp | |
parent | a20c3cf85db43efc6def7c150116bc9e42ed1842 (diff) | |
download | bcm5719-llvm-8bb838ac0766c6873a02a6ba8cd36181b7a09ccf.tar.gz bcm5719-llvm-8bb838ac0766c6873a02a6ba8cd36181b7a09ccf.zip |
Remove the need to cache the subtarget in the Sparc TargetRegisterInfo
classes.
llvm-svn: 232013
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcInstrInfo.cpp')
-rw-r--r-- | llvm/lib/Target/Sparc/SparcInstrInfo.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Target/Sparc/SparcInstrInfo.cpp b/llvm/lib/Target/Sparc/SparcInstrInfo.cpp index 8b2e6bc5f32..4b70f1619b1 100644 --- a/llvm/lib/Target/Sparc/SparcInstrInfo.cpp +++ b/llvm/lib/Target/Sparc/SparcInstrInfo.cpp @@ -33,9 +33,8 @@ using namespace llvm; void SparcInstrInfo::anchor() {} SparcInstrInfo::SparcInstrInfo(SparcSubtarget &ST) - : SparcGenInstrInfo(SP::ADJCALLSTACKDOWN, SP::ADJCALLSTACKUP), - RI(ST), Subtarget(ST) { -} + : SparcGenInstrInfo(SP::ADJCALLSTACKDOWN, SP::ADJCALLSTACKUP), RI(), + Subtarget(ST) {} /// isLoadFromStackSlot - If the specified machine instruction is a direct /// load from a stack slot, return the virtual or physical register number of |