mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 14:40:25 +00:00
Bug fix in ValOpIterator: not moving past operand with NULL Value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0b03c6a492
commit
7c02601b58
@ -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
Block a user