Add comments.

llvm-svn: 66782
This commit is contained in:
Zhongxing Xu 2009-03-12 07:54:17 +00:00
parent 1a8738935c
commit 15adce4ea2
1 changed files with 8 additions and 0 deletions

View File

@ -115,6 +115,14 @@ public:
};
} // 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,