Can't use ref to stack value!

llvm-svn: 354
This commit is contained in:
Vikram S. Adve 2001-08-09 20:14:22 +00:00
parent 315d2d941e
commit 5715b56e65
1 changed files with 1 additions and 1 deletions

View File

@ -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() &&