diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-02-22 23:17:20 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-02-22 23:17:20 +0000 |
commit | d156d536e1fb9defcf187da64e7765ec058580eb (patch) | |
tree | b878aefe8db08136caeeee5bbb53b6535242706a | |
parent | bfc10c961212fe2701c717efa134ce9cb55b38cf (diff) |
Fixed horrid bug in LiveVariables analysis where we were only merging at
confluence points the liveness information for variables (Decls) and NOT
block-level expressions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47506 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 59039fb14a..1201eb021d 100644 --- a/Analysis/LiveVariables.cpp +++ b/Analysis/LiveVariables.cpp @@ -173,7 +173,7 @@ void TransferFuncs::VisitDeclStmt(DeclStmt* DS) { //===----------------------------------------------------------------------===// namespace { -typedef DeclBitVector_Types::Union Merge; +typedef ExprDeclBitVector_Types::Union Merge; typedef DataflowSolver<LiveVariables,TransferFuncs,Merge> Solver; } // end anonymous namespace |