summaryrefslogtreecommitdiffstats
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
commit5715b56e655e5303cc9c0f1063242f75322d3502 (patch)
tree45f29c225c52b272c5f0496a39f3e688e3e3dd58
parent315d2d941e8e67e5d537be5413d054f987f92607 (diff)
downloadbcm5719-llvm-5715b56e655e5303cc9c0f1063242f75322d3502.tar.gz
bcm5719-llvm-5715b56e655e5303cc9c0f1063242f75322d3502.zip
Can't use ref to stack value!
llvm-svn: 354
-rw-r--r--llvm/include/llvm/CodeGen/MachineInstr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineInstr.h b/llvm/include/llvm/CodeGen/MachineInstr.h
index 3184c98c46e..5d968c3d368 100644
--- a/llvm/include/llvm/CodeGen/MachineInstr.h
+++ b/llvm/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() &&
OpenPOWER on IntegriCloud