Revert 95541.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95545 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Checker/BugReporter.cpp b/lib/Checker/BugReporter.cpp
index 34d05f9..0cf593b 100644
--- a/lib/Checker/BugReporter.cpp
+++ b/lib/Checker/BugReporter.cpp
@@ -350,7 +350,7 @@
     if (!DR)
       continue;
 
-    SVal Y = N->getState()->getExprVal(DR);
+    SVal Y = N->getState()->getSVal(DR);
 
     if (X != Y)
       continue;
@@ -394,7 +394,7 @@
       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;