diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-11-27 02:39:34 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-11-27 02:39:34 +0000 |
commit | 8fd9b3508a03b7216782e42218aa244c00395c5c (patch) | |
tree | 2d85731ecad6a337028233277a018b60e455521f /lib/Analysis/BasicConstraintManager.cpp | |
parent | 5abf03bbb9e8703d41bd241a4733d930791fd972 (diff) |
Add comments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60146 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BasicConstraintManager.cpp')
-rw-r--r-- | lib/Analysis/BasicConstraintManager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Analysis/BasicConstraintManager.cpp b/lib/Analysis/BasicConstraintManager.cpp index 6f62c4ba77..7bed3931bf 100644 --- a/lib/Analysis/BasicConstraintManager.cpp +++ b/lib/Analysis/BasicConstraintManager.cpp @@ -448,6 +448,8 @@ bool BasicConstraintManager::isEqual(const GRState* St, SymbolID sym, return T ? **T == V : false; } +/// Scan all symbols referenced by the constraints. If the symbol is not alive +/// as marked in LSymbols, mark it as dead in DSymbols. const GRState* BasicConstraintManager::RemoveDeadBindings(const GRState* St, StoreManager::LiveSymbolsTy& LSymbols, StoreManager::DeadSymbolsTy& DSymbols) { |