summaryrefslogtreecommitdiffstats
path: root/clang/lib/Checker/RegionStore.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2010-02-08 09:30:02 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2010-02-08 09:30:02 +0000
commit500f49fe258ae0564cb9b33b1abb539565e9b7ab (patch)
treea4a2a16d145400a8d50f9eaf3ffb253c419176a0 /clang/lib/Checker/RegionStore.cpp
parentc5f825eacd5c667007881dd649a281534d300356 (diff)
downloadbcm5719-llvm-500f49fe258ae0564cb9b33b1abb539565e9b7ab.tar.gz
bcm5719-llvm-500f49fe258ae0564cb9b33b1abb539565e9b7ab.zip
Rename: GRState::getSVal(Stmt*) => getExprVal(),
GRState::getSVal(MemRegion*) => Load(). llvm-svn: 95541
Diffstat (limited to 'clang/lib/Checker/RegionStore.cpp')
-rw-r--r--clang/lib/Checker/RegionStore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Checker/RegionStore.cpp b/clang/lib/Checker/RegionStore.cpp
index c08be0cff62..05b385cc587 100644
--- a/clang/lib/Checker/RegionStore.cpp
+++ b/clang/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->getSVal(*AI);
+ SVal ArgVal = state->getExprVal(*AI);
store = Bind(store, ValMgr.makeLoc(MRMgr.getVarRegion(*PI, frame)), ArgVal);
}
OpenPOWER on IntegriCloud