Reverse the RHSBlock of LogicalOp && and ||

llvm-svn: 57041
This commit is contained in:
Zhongxing Xu 2008-10-04 05:48:38 +00:00
parent 13b048268b
commit 8d1928a4ca
1 changed files with 1 additions and 0 deletions

View File

@ -458,6 +458,7 @@ CFGBlock* CFGBuilder::WalkAST(Stmt* Terminator, bool AlwaysAddStmt = false) {
Succ = ConfluenceBlock;
Block = NULL;
CFGBlock* RHSBlock = Visit(B->getRHS());
FinishBlock(RHSBlock);
// Now link the LHSBlock with RHSBlock.
if (B->getOpcode() == BinaryOperator::LOr) {