[cfe-commits] r59227 - /cfe/trunk/lib/AST/CFG.cpp
Ted Kremenek
kremenek at apple.com
Wed Nov 12 23:01:10 PST 2008
Author: kremenek
Date: Thu Nov 13 01:01:10 2008
New Revision: 59227
URL: http://llvm.org/viewvc/llvm-project?rev=59227&view=rev
Log:
Hook up "BodyBlock", not "Block".
Modified:
cfe/trunk/lib/AST/CFG.cpp
Modified: cfe/trunk/lib/AST/CFG.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/CFG.cpp?rev=59227&r1=59226&r2=59227&view=diff
==============================================================================
--- cfe/trunk/lib/AST/CFG.cpp (original)
+++ cfe/trunk/lib/AST/CFG.cpp Thu Nov 13 01:01:10 2008
@@ -851,7 +851,7 @@
FinishBlock(BodyBlock);
// Connect up the condition block
- ConditionBlock->addSuccessor(Block);
+ ConditionBlock->addSuccessor(BodyBlock);
ConditionBlock->addSuccessor(LoopSuccessor);
// Now create a prologue block to contain the collection expression.
More information about the cfe-commits
mailing list