OSDN Git Service

Remove unused data member to unbreak -Werror builds.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 23 Aug 2016 22:10:46 +0000 (22:10 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 23 Aug 2016 22:10:46 +0000 (22:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279581 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/StackMaps.h
lib/CodeGen/StackMaps.cpp

index b3fd1d6..6f2e5b5 100644 (file)
@@ -31,9 +31,6 @@ public:
   /// Enumerate the meta operands.
   enum { IDPos, NBytesPos };
 
-private:
-  const MachineInstr *MI;
-
 public:
   explicit StackMapOpers(const MachineInstr *MI);
 
index 7d5e20c..9e6df46 100644 (file)
@@ -35,8 +35,7 @@ static cl::opt<int> StackMapVersion(
 
 const char *StackMaps::WSMP = "Stack Maps: ";
 
-StackMapOpers::StackMapOpers(const MachineInstr *MI) 
-  : MI(MI) {
+StackMapOpers::StackMapOpers(const MachineInstr *MI) {
   assert(getVarIdx() <= MI->getNumOperands() &&
          "invalid stackmap definition");
 }