diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-03-01 06:56:52 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-03-01 06:56:52 +0000 |
commit | 14d2328ecfc5102b077fa2c2c129dce1574c8831 (patch) | |
tree | a11479a21376871fccd9bfe2681ea1fbf3933ead /lib/Checker/FlatStore.cpp | |
parent | 2db08ca1246648bb7e8f32551b2d8483fb889bf8 (diff) |
Since now we store the cast type with an ElementRegion, there is
no need to store a type with SymbolRegionValue.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97437 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/FlatStore.cpp')
-rw-r--r-- | lib/Checker/FlatStore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Checker/FlatStore.cpp b/lib/Checker/FlatStore.cpp index dac66def5d..07a54fb487 100644 --- a/lib/Checker/FlatStore.cpp +++ b/lib/Checker/FlatStore.cpp @@ -97,7 +97,7 @@ SVal FlatStoreManager::RetrieveRegionWithNoBinding(const MemRegion *R, if (R->hasStackNonParametersStorage()) return UndefinedVal(); else - return ValMgr.getRegionValueSymbolVal(R, T); + return ValMgr.getRegionValueSymbolVal(cast<TypedRegion>(R)); } Store FlatStoreManager::Bind(Store store, Loc L, SVal val) { |