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)
llvm-svn: 209328

llvm/lib/Target/Hexagon/HexagonSplitConst32AndConst64.cpp

index aa4121f..d814e33 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";