Remove unused member variable from hexagon pass.
authorEric Christopher <echristo@gmail.com>
Wed, 21 May 2014 22:42:02 +0000 (22:42 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 21 May 2014 22:42:02 +0000 (22:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209328 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Hexagon/HexagonSplitConst32AndConst64.cpp

index aa4121f4ed5d8f41cce2c19d62e4d2caaac0877c..d814e33de2c1a76ace1d48b6c8b37a222ecec6d8 100644 (file)
@@ -47,13 +47,12 @@ using namespace llvm;
 namespace {
 
 class HexagonSplitConst32AndConst64 : public MachineFunctionPass {
-    const HexagonTargetMachine& QTM;
-    const HexagonSubtarget &QST;
+  const HexagonTargetMachine &QTM;
 
  public:
     static char ID;
-    HexagonSplitConst32AndConst64(const HexagonTargetMachineTM)
-      : MachineFunctionPass(ID), QTM(TM), QST(*TM.getSubtargetImpl()) {}
+    HexagonSplitConst32AndConst64(const HexagonTargetMachine &TM)
+        : MachineFunctionPass(ID), QTM(TM) {}
 
     const char *getPassName() const override {
       return "Hexagon Split Const32s and Const64s";