diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-03-10 04:11:42 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-03-10 04:11:42 +0000 |
commit | 0d093d3005dd583675a45a85bd688063572cc8af (patch) | |
tree | 80cdb8a433cce07872799c04bef7113e7665f07d /lib/CodeGen/ModuleBuilder.cpp | |
parent | 512c913a6f93d225faacdb8e20308f5c4065c3eb (diff) |
More cleanups with using the liveness analysis to removed dead symbols and
variables from the symbolic state. Now we keep a mapping from the predecessor
node of a statement and its cleaned state, and interpose an accessor
"GetState()" to return the cleaned state when the node is the predecessor node,
and the real state otherwise. This obviates problem of ever accidentally
cleaning the state more than once (thus blowing away new bindings by mistake).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48124 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions