projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b03c6a
)
Bug fix in ValOpIterator: not moving past operand with NULL Value.
author
Vikram S. Adve
<vadve@cs.uiuc.edu>
Wed, 8 Aug 2001 00:15:42 +0000
(
00:15
+0000)
committer
Vikram S. Adve
<vadve@cs.uiuc.edu>
Wed, 8 Aug 2001 00:15:42 +0000
(
00:15
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/MachineInstr.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/MachineInstr.h
b/include/llvm/CodeGen/MachineInstr.h
index 166d5a21f3b50ac3c3dde0934f894f1634d5b6de..4b46d7dc82d26588977e532442aa8b0b181e289a 100644
(file)
--- a/
include/llvm/CodeGen/MachineInstr.h
+++ b/
include/llvm/CodeGen/MachineInstr.h
@@
-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;
}