Index: include/llvm/CodeGen/StackMaps.h =================================================================== --- include/llvm/CodeGen/StackMaps.h +++ include/llvm/CodeGen/StackMaps.h @@ -31,9 +31,6 @@ /// Enumerate the meta operands. enum { IDPos, NBytesPos }; -private: - const MachineInstr *MI; - public: explicit StackMapOpers(const MachineInstr *MI); Index: lib/CodeGen/StackMaps.cpp =================================================================== --- lib/CodeGen/StackMaps.cpp +++ lib/CodeGen/StackMaps.cpp @@ -35,8 +35,7 @@ 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"); }