[llvm] r279581 - Remove unused data member to unbreak -Werror builds.

Richard Smith via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 23 15:10:46 PDT 2016


Author: rsmith
Date: Tue Aug 23 17:10:46 2016
New Revision: 279581

URL: http://llvm.org/viewvc/llvm-project?rev=279581&view=rev
Log:
Remove unused data member to unbreak -Werror builds.

Modified:
    llvm/trunk/include/llvm/CodeGen/StackMaps.h
    llvm/trunk/lib/CodeGen/StackMaps.cpp

Modified: llvm/trunk/include/llvm/CodeGen/StackMaps.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/StackMaps.h?rev=279581&r1=279580&r2=279581&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/StackMaps.h (original)
+++ llvm/trunk/include/llvm/CodeGen/StackMaps.h Tue Aug 23 17:10:46 2016
@@ -31,9 +31,6 @@ public:
   /// Enumerate the meta operands.
   enum { IDPos, NBytesPos };
 
-private:
-  const MachineInstr *MI;
-
 public:
   explicit StackMapOpers(const MachineInstr *MI);
 

Modified: llvm/trunk/lib/CodeGen/StackMaps.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/StackMaps.cpp?rev=279581&r1=279580&r2=279581&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/StackMaps.cpp (original)
+++ llvm/trunk/lib/CodeGen/StackMaps.cpp Tue Aug 23 17:10:46 2016
@@ -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");
 }




More information about the llvm-commits mailing list