diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-06-16 09:55:50 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-06-16 09:55:50 +0000 |
commit | 143b2fc6fd3945c250b333383749010c2c8e3a4c (patch) | |
tree | d372e866796eaa2261b7bd0af44fc416f1d5f68f /lib/Analysis/BasicStore.cpp | |
parent | 78d5b5e738c81b596f20205437120d5f3d7c5d9e (diff) |
Use canonical type for building ElementRegion. Otherwise ElementRegions cannot
be unique.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73482 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BasicStore.cpp')
-rw-r--r-- | lib/Analysis/BasicStore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/BasicStore.cpp b/lib/Analysis/BasicStore.cpp index 2dd46c3853..ba4c021475 100644 --- a/lib/Analysis/BasicStore.cpp +++ b/lib/Analysis/BasicStore.cpp @@ -248,7 +248,7 @@ SVal BasicStoreManager::getLValueElement(const GRState* St, if (BaseR) return Loc::MakeVal(MRMgr.getElementRegion(elementType, UnknownVal(), - BaseR)); + BaseR, getContext())); else return UnknownVal(); } |