Bug fix in ValOpIterator: not moving past operand with NULL Value.

llvm-svn: 352
This commit is contained in:
Vikram S. Adve 2001-08-08 00:15:42 +00:00
parent c82322c526
commit c3fd4c2fc6
1 changed files with 1 additions and 2 deletions

View File

@ -293,8 +293,7 @@ private:
inline void skipToNextVal() {
while (i < minstr->getNumOperands()
&& minstr->getOperand(i).getOperandType() != MachineOperand::MO_VirtualRegister
&& minstr->getOperand(i).getOperandType() != MachineOperand::MO_CCRegister)
&& minstr->getOperand(i).getVRegValue() == NULL)
++i;
}