diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-02-08 16:18:51 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-02-08 16:18:51 +0000 |
commit | 1397663af9dbcc24dbf0e11de43931b3dc08fdbb (patch) | |
tree | 2faba52258a1c9030b653b71072220843482c724 /lib/Checker/BugReporter.cpp | |
parent | d819f74fb5c2213782a443b432fccec95048ec74 (diff) |
Revert 95541.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95545 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/BugReporter.cpp')
-rw-r--r-- | lib/Checker/BugReporter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Checker/BugReporter.cpp b/lib/Checker/BugReporter.cpp index 34d05f995b..0cf593b260 100644 --- a/lib/Checker/BugReporter.cpp +++ b/lib/Checker/BugReporter.cpp @@ -350,7 +350,7 @@ GetMostRecentVarDeclBinding(const ExplodedNode* N, if (!DR) continue; - SVal Y = N->getState()->getExprVal(DR); + SVal Y = N->getState()->getSVal(DR); if (X != Y) continue; @@ -394,7 +394,7 @@ public: return true; // Check if the previous state has this binding. - SVal X = PrevSt->Load(loc::MemRegionVal(R)); + SVal X = PrevSt->getSVal(loc::MemRegionVal(R)); if (X == V) // Same binding? return true; |