aboutsummaryrefslogtreecommitdiff
path: root/lib/Checker/RegionStore.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-02-08 16:18:51 +0000
committerTed Kremenek <kremenek@apple.com>2010-02-08 16:18:51 +0000
commit1397663af9dbcc24dbf0e11de43931b3dc08fdbb (patch)
tree2faba52258a1c9030b653b71072220843482c724 /lib/Checker/RegionStore.cpp
parentd819f74fb5c2213782a443b432fccec95048ec74 (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/RegionStore.cpp')
-rw-r--r--lib/Checker/RegionStore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Checker/RegionStore.cpp b/lib/Checker/RegionStore.cpp
index 05b385cc58..c08be0cff6 100644
--- a/lib/Checker/RegionStore.cpp
+++ b/lib/Checker/RegionStore.cpp
@@ -1859,7 +1859,7 @@ GRState const *RegionStoreManager::EnterStackFrame(GRState const *state,
// Copy the arg expression value to the arg variables.
Store store = state->getStore();
for (; AI != AE; ++AI, ++PI) {
- SVal ArgVal = state->getExprVal(*AI);
+ SVal ArgVal = state->getSVal(*AI);
store = Bind(store, ValMgr.makeLoc(MRMgr.getVarRegion(*PI, frame)), ArgVal);
}