diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index 3184c98c46e..5d968c3d368 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -293,7 +293,7 @@ class ValOpIterator : public std::forward_iterator<_V, ptrdiff_t> { private: unsigned int i; int resultPos; - _MI*& minstr; + _MI* minstr; inline void skipToNextVal() { while (i < minstr->getNumOperands() &&