[cfe-commits] r57041 - /cfe/trunk/lib/AST/CFG.cpp

Zhongxing Xu xuzhongxing at gmail.com
Fri Oct 3 22:48:40 PDT 2008


Author: zhongxingxu
Date: Sat Oct  4 00:48:38 2008
New Revision: 57041

URL: http://llvm.org/viewvc/llvm-project?rev=57041&view=rev
Log:
Reverse the RHSBlock of LogicalOp && and ||

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=57041&r1=57040&r2=57041&view=diff

==============================================================================
--- cfe/trunk/lib/AST/CFG.cpp (original)
+++ cfe/trunk/lib/AST/CFG.cpp Sat Oct  4 00:48:38 2008
@@ -458,6 +458,7 @@
         Succ = ConfluenceBlock;
         Block = NULL;
         CFGBlock* RHSBlock = Visit(B->getRHS());
+        FinishBlock(RHSBlock);
 
         // Now link the LHSBlock with RHSBlock.
         if (B->getOpcode() == BinaryOperator::LOr) {





More information about the cfe-commits mailing list