diff options
| author | Ted Kremenek <kremenek@apple.com> | 2008-01-17 18:25:22 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2008-01-17 18:25:22 +0000 |
| commit | b4b65e63191d97d2abf4cb5379883a529c29ef6a (patch) | |
| tree | 3b1344827bf8d49b1ce8469df9d6c011cd878801 /clang/Analysis/DeadStores.cpp | |
| parent | 1c075a1c9d5f84ae09a7964608b32e4b732557c8 (diff) | |
| download | bcm5719-llvm-b4b65e63191d97d2abf4cb5379883a529c29ef6a.tar.gz bcm5719-llvm-b4b65e63191d97d2abf4cb5379883a529c29ef6a.zip | |
Added support to dataflow solver to (when requested) also record dataflow
values for the block-level expressions.
Modified 'LiveVariables' to provide the option to clients to record
liveness information for block-level expressions (using the above feature).
Modified 'DeadStores' to conform to the new interface of 'LiveVariables'.
Modified 'GRConstants' to compute liveness information for block-level
expressions.
llvm-svn: 46137
Diffstat (limited to 'clang/Analysis/DeadStores.cpp')
| -rw-r--r-- | clang/Analysis/DeadStores.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Analysis/DeadStores.cpp b/clang/Analysis/DeadStores.cpp index 564478d6260..926109e1b29 100644 --- a/clang/Analysis/DeadStores.cpp +++ b/clang/Analysis/DeadStores.cpp @@ -80,7 +80,7 @@ void CheckDeadStores(CFG& cfg, ASTContext &Ctx, Diagnostic &Diags) { LiveVariables L(cfg); L.runOnCFG(cfg); DeadStoreObs A(Ctx, Diags); - L.runOnAllBlocks(cfg,A); + L.runOnAllBlocks(cfg,&A); } } // end namespace clang |

