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 | ca698195a249deae8689e072df671cd537804c94 (patch) | |
tree | d76087074f545a67e0ad961fc5043c3fafae5f2d | |
parent | a5dd5684dc508c9181244fabf7a99a6301b6d230 (diff) | |
download | bcm5719-llvm-ca698195a249deae8689e072df671cd537804c94.tar.gz bcm5719-llvm-ca698195a249deae8689e072df671cd537804c94.zip |
Remove unused private field to silence build warning.
llvm-svn: 162426
-rw-r--r-- | llvm/lib/Target/Mips/Mips16InstrInfo.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/Target/Mips/Mips16RegisterInfo.cpp | 5 | ||||
-rw-r--r-- | llvm/lib/Target/Mips/Mips16RegisterInfo.h | 4 |
3 files changed, 4 insertions, 7 deletions
diff --git a/llvm/lib/Target/Mips/Mips16InstrInfo.cpp b/llvm/lib/Target/Mips/Mips16InstrInfo.cpp index 2bc286b6bb1..ec84ad81f55 100644 --- a/llvm/lib/Target/Mips/Mips16InstrInfo.cpp +++ b/llvm/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/llvm/lib/Target/Mips/Mips16RegisterInfo.cpp b/llvm/lib/Target/Mips/Mips16RegisterInfo.cpp index ee942fe44ff..106e82fd38a 100644 --- a/llvm/lib/Target/Mips/Mips16RegisterInfo.cpp +++ b/llvm/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/llvm/lib/Target/Mips/Mips16RegisterInfo.h b/llvm/lib/Target/Mips/Mips16RegisterInfo.h index ea09e78f159..c702a15f60f 100644 --- a/llvm/lib/Target/Mips/Mips16RegisterInfo.h +++ b/llvm/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, |