diff options
author | Ted Kremenek <kremenek@apple.com> | 2007-11-19 06:36:49 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2007-11-19 06:36:49 +0000 |
commit | 4e4d652790b3a6a737ffb19ff2a448ce8fa5e2fd (patch) | |
tree | db9d9aa28da8920ca98b1ec6d4850028f803e7c7 | |
parent | f06273f8bbacb086a46bde456429c8d08f6d07ee (diff) |
Fixed bug where LiveVariables was not properly propagating updates to liveness
state that occurred in subexpressions of Block-Level expressions. Bug and fix
provided by Nuno Lopes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44224 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | Analysis/LiveVariables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Analysis/LiveVariables.cpp b/Analysis/LiveVariables.cpp index f37239a6a6..3118a30d1f 100644 --- a/Analysis/LiveVariables.cpp +++ b/Analysis/LiveVariables.cpp @@ -162,7 +162,7 @@ void TransferFuncs::VisitDeclStmt(DeclStmt* DS) { void TransferFuncs::BlockStmt_VisitExpr(Expr* E) { assert (AD.getCFG().isBlkExpr(E)); - static_cast<CFGStmtVisitor<TransferFuncs>*>(this)->Visit(E); + VisitChildren(E); } } // end anonymous namespace |