forked from OSchip/llvm-project
Reverse the RHSBlock of LogicalOp && and ||
llvm-svn: 57041
This commit is contained in:
parent
13b048268b
commit
8d1928a4ca
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue