[cfe-commits] r66782 - /cfe/trunk/lib/Analysis/Environment.cpp

Zhongxing Xu xuzhongxing at gmail.com
Thu Mar 12 00:54:17 PDT 2009


Author: zhongxingxu
Date: Thu Mar 12 02:54:17 2009
New Revision: 66782

URL: http://llvm.org/viewvc/llvm-project?rev=66782&view=rev
Log:
Add comments.

Modified:
    cfe/trunk/lib/Analysis/Environment.cpp

Modified: cfe/trunk/lib/Analysis/Environment.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/Environment.cpp?rev=66782&r1=66781&r2=66782&view=diff

==============================================================================
--- cfe/trunk/lib/Analysis/Environment.cpp (original)
+++ cfe/trunk/lib/Analysis/Environment.cpp Thu Mar 12 02:54:17 2009
@@ -115,6 +115,14 @@
 };
 } // end anonymous namespace
 
+// RemoveDeadBindings:
+//  - Remove subexpression bindings.
+//  - Remove dead block expression bindings.
+//  - Keep live block expression bindings:
+//   - Mark their reachable symbols live in SymbolReaper, 
+//     see ScanReachableSymbols.
+//   - Mark the region in DRoots if the binding is a loc::MemRegionVal.
+
 Environment 
 EnvironmentManager::RemoveDeadBindings(Environment Env, Stmt* Loc,
                                        SymbolReaper& SymReaper,





More information about the cfe-commits mailing list