Skip to content
Commit d95ccd58 authored by Zhongxing Xu's avatar Zhongxing Xu
Browse files

If visiting RHS causes us to finish 'Block', e.g. the RHS is a StmtExpr

containing a DoStmt, and the LHS doesn't create a new block, then we should
return RBlock.  Otherwise we'll incorrectly return NULL.

Also relax an assertion in VisitWhileStmt(). Reset 'Block' when it is finished.

llvm-svn: 117436
parent 9ad21668
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment