[cfe-commits] r47506 - /cfe/trunk/Analysis/LiveVariables.cpp

Ted Kremenek kremenek at apple.com
Fri Feb 22 15:17:21 PST 2008


Author: kremenek
Date: Fri Feb 22 17:17:20 2008
New Revision: 47506

URL: http://llvm.org/viewvc/llvm-project?rev=47506&view=rev
Log:
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.

Modified:
    cfe/trunk/Analysis/LiveVariables.cpp

Modified: cfe/trunk/Analysis/LiveVariables.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Analysis/LiveVariables.cpp?rev=47506&r1=47505&r2=47506&view=diff

==============================================================================
--- cfe/trunk/Analysis/LiveVariables.cpp (original)
+++ cfe/trunk/Analysis/LiveVariables.cpp Fri Feb 22 17:17:20 2008
@@ -173,7 +173,7 @@
 //===----------------------------------------------------------------------===//      
 
 namespace {
-typedef DeclBitVector_Types::Union Merge;
+typedef ExprDeclBitVector_Types::Union Merge;
 typedef DataflowSolver<LiveVariables,TransferFuncs,Merge> Solver;
 } // end anonymous namespace
 





More information about the cfe-commits mailing list