diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-08-23 04:45:31 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-08-23 04:45:31 +0000 |
commit | 71eab96bfd4d57a14105324cc0e0cac8eb3f7c8e (patch) | |
tree | fa2f12e6602a8ad53f65a7e9e314019897b76fc3 /lib/Target/Mips | |
parent | bd5bc2161cb4520134d3e7eb6ac5f160b3653e78 (diff) | |
download | external_llvm-71eab96bfd4d57a14105324cc0e0cac8eb3f7c8e.zip external_llvm-71eab96bfd4d57a14105324cc0e0cac8eb3f7c8e.tar.gz external_llvm-71eab96bfd4d57a14105324cc0e0cac8eb3f7c8e.tar.bz2 |
Remove unused private field to silence build warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162426 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips')
-rw-r--r-- | lib/Target/Mips/Mips16InstrInfo.cpp | 2 | ||||
-rw-r--r-- | lib/Target/Mips/Mips16RegisterInfo.cpp | 5 | ||||
-rw-r--r-- | lib/Target/Mips/Mips16RegisterInfo.h | 4 |
3 files changed, 4 insertions, 7 deletions
diff --git a/lib/Target/Mips/Mips16InstrInfo.cpp b/lib/Target/Mips/Mips16InstrInfo.cpp index 2bc286b..ec84ad8 100644 --- a/lib/Target/Mips/Mips16InstrInfo.cpp +++ b/lib/Target/Mips/Mips16InstrInfo.cpp @@ -26,7 +26,7 @@ using namespace llvm; Mips16InstrInfo::Mips16InstrInfo(MipsTargetMachine &tm) : MipsInstrInfo(tm, /* FIXME: set mips16 unconditional br */ 0), - RI(*tm.getSubtargetImpl(), *this) {} + RI(*tm.getSubtargetImpl()) {} const MipsRegisterInfo &Mips16InstrInfo::getRegisterInfo() const { return RI; diff --git a/lib/Target/Mips/Mips16RegisterInfo.cpp b/lib/Target/Mips/Mips16RegisterInfo.cpp index ee942fe..106e82f 100644 --- a/lib/Target/Mips/Mips16RegisterInfo.cpp +++ b/lib/Target/Mips/Mips16RegisterInfo.cpp @@ -38,9 +38,8 @@ using namespace llvm; -Mips16RegisterInfo::Mips16RegisterInfo(const MipsSubtarget &ST, - const Mips16InstrInfo &I) - : MipsRegisterInfo(ST), TII(I) {} +Mips16RegisterInfo::Mips16RegisterInfo(const MipsSubtarget &ST) + : MipsRegisterInfo(ST) {} // This function eliminate ADJCALLSTACKDOWN, // ADJCALLSTACKUP pseudo instructions diff --git a/lib/Target/Mips/Mips16RegisterInfo.h b/lib/Target/Mips/Mips16RegisterInfo.h index ea09e78..c702a15 100644 --- a/lib/Target/Mips/Mips16RegisterInfo.h +++ b/lib/Target/Mips/Mips16RegisterInfo.h @@ -20,10 +20,8 @@ namespace llvm { class Mips16InstrInfo; class Mips16RegisterInfo : public MipsRegisterInfo { - const Mips16InstrInfo &TII; - public: - Mips16RegisterInfo(const MipsSubtarget &Subtarget, const Mips16InstrInfo &I); + Mips16RegisterInfo(const MipsSubtarget &Subtarget); void eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, |