From: Vikram S. Adve Date: Thu, 9 Aug 2001 20:14:22 +0000 (+0000) Subject: Can't use ref to stack value! X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=4f01c1ee9920e25bb9695189439ed5e29fc9128d;p=oota-llvm.git Can't use ref to stack value! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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() &&