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.

llvm-svn: 47506
This commit is contained in:
Ted Kremenek 2008-02-22 23:17:20 +00:00
parent 09f410b6d7
commit b0b7d28f67
1 changed files with 1 additions and 1 deletions

View File

@ -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