diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-07-15 04:23:32 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-07-15 04:23:32 +0000 |
commit | 41fb0df17bafd699a063982292a90b6293788654 (patch) | |
tree | 4000d81129928104d82f71f276d3f96967eda23d /lib/Analysis/RegionStore.cpp | |
parent | a6275a534da701f37d19a068e6361e5f10f983a1 (diff) |
Relax assertion.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75738 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/RegionStore.cpp')
-rw-r--r-- | lib/Analysis/RegionStore.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Analysis/RegionStore.cpp b/lib/Analysis/RegionStore.cpp index b4eb4b8e19..1dc5118d9e 100644 --- a/lib/Analysis/RegionStore.cpp +++ b/lib/Analysis/RegionStore.cpp @@ -838,7 +838,8 @@ SVal RegionStoreManager::Retrieve(const GRState *state, Loc L, QualType T) { SVal idx = ValMgr.makeIntVal(0, Ctx.IntTy); R = MRMgr.getElementRegion(T, idx, R, Ctx); RTy = T; - assert(RTy == R->getValueType(Ctx)); + assert(Ctx.getCanonicalType(RTy) == + Ctx.getCanonicalType(R->getValueType(Ctx))); } if (RTy->isStructureType()) |