diff options
-rw-r--r-- | Analysis/LiveVariables.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Analysis/LiveVariables.cpp b/Analysis/LiveVariables.cpp index 9515cb8eb7..52f7f4d19b 100644 --- a/Analysis/LiveVariables.cpp +++ b/Analysis/LiveVariables.cpp @@ -86,8 +86,7 @@ void TransferFuncs::Visit(Stmt *S) { AD.Observer->ObserveStmt(S,AD,LiveState); if (S == getCurrentBlkStmt()) { - assert (!isa<Expr>(S) || getCFG().isBlkExpr(S)); - if (isa<Expr>(S)) LiveState(S,AD) = Dead; + if (getCFG().isBlkExpr(S)) LiveState(S,AD) = Dead; StmtVisitor<TransferFuncs,void>::Visit(S); } else if (!getCFG().isBlkExpr(S)) |