diff options
Diffstat (limited to 'clang/lib/Analysis/DeadStores.cpp')
-rw-r--r-- | clang/lib/Analysis/DeadStores.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Analysis/DeadStores.cpp b/clang/lib/Analysis/DeadStores.cpp index 265679ff7e6..3097dc355dc 100644 --- a/clang/lib/Analysis/DeadStores.cpp +++ b/clang/lib/Analysis/DeadStores.cpp @@ -242,8 +242,8 @@ public: DiagCollector C(*this); DeadStoreObs A(BR.getContext(), BR.getDiagnostic(), C, BR.getParentMap()); - GRExprEngine& Eng = BR.getEngine(); - Eng.getLiveness().runOnAllBlocks(BR.getCFG(), &A); + + BR.getLiveVariables().runOnAllBlocks(BR.getCFG(), &A); // Emit the bug reports. |