From 4f01c1ee9920e25bb9695189439ed5e29fc9128d Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Thu, 9 Aug 2001 20:14:22 +0000 Subject: [PATCH] Can't use ref to stack value! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/MachineInstr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() &&