forked from OSchip/llvm-project
Bug fix in ValOpIterator: not moving past operand with NULL Value.
llvm-svn: 352
This commit is contained in:
parent
c82322c526
commit
c3fd4c2fc6
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue