Fix bug where the body block of an ObjCForCollectionStmt would not properly get expanded as a series of basic blocks.
llvm-svn: 59197
This commit is contained in:
parent
c7ec5fcf24
commit
ce9082ad5c
|
@ -840,7 +840,7 @@ CFGBlock* CFGBuilder::VisitObjCForCollectionStmt(ObjCForCollectionStmt* S) {
|
|||
|
||||
// Now create the true branch.
|
||||
Succ = ConditionBlock;
|
||||
CFGBlock* BodyBlock = addStmt(S->getBody());
|
||||
CFGBlock* BodyBlock = Visit(S->getBody());
|
||||
FinishBlock(BodyBlock);
|
||||
|
||||
// Connect up the condition block
|
||||
|
|
Loading…
Reference in New Issue