[llvm-commits] CVS: llvm/lib/VMCore/Verifier.cpp
Reid Spencer
reid at x10sys.com
Mon Dec 18 13:56:44 PST 2006
Changes in directory llvm/lib/VMCore:
Verifier.cpp updated: 1.174 -> 1.175
---
Log message:
For PR1042: http://llvm.org/PR1042 :
Fix a thinko. We want to check the second case if the first cast *didn't*
trigger.
---
Diffs of the changes: (+1 -1)
Verifier.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/VMCore/Verifier.cpp
diff -u llvm/lib/VMCore/Verifier.cpp:1.174 llvm/lib/VMCore/Verifier.cpp:1.175
--- llvm/lib/VMCore/Verifier.cpp:1.174 Fri Dec 15 20:25:35 2006
+++ llvm/lib/VMCore/Verifier.cpp Mon Dec 18 15:56:29 2006
@@ -921,7 +921,7 @@
// If it is used by something non-phi, then the other case is that
// 'OpBlock' dominates all of its predecessors other than the
// invoke. In this case, the invoke value can still be used.
- if (Bad) {
+ if (!Bad) {
Bad = false;
for (pred_iterator PI = pred_begin(OpBlock),
E = pred_end(OpBlock); PI != E; ++PI) {
More information about the llvm-commits
mailing list