aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineInstr.h
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2001-08-09 20:14:22 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2001-08-09 20:14:22 +0000
commit4f01c1ee9920e25bb9695189439ed5e29fc9128d (patch)
tree3180f36d401d3bc3898ee9feabb6d5312ad05a64 /include/llvm/CodeGen/MachineInstr.h
parent98f2f8053bebaad7683de074bfb74239364098d2 (diff)
Can't use ref to stack value!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineInstr.h')
-rw-r--r--include/llvm/CodeGen/MachineInstr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h
index 3184c98c46..5d968c3d36 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() &&