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) { _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits