forked from OSchip/llvm-project
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:
parent
09f410b6d7
commit
b0b7d28f67
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue