Adjust assertion in RegionStoreManager::RetrieveArray() to also take into account typedefs.
llvm-svn: 113893
This commit is contained in:
parent
e0386dbef1
commit
72c9b0d582
|
@ -1306,7 +1306,7 @@ SVal RegionStoreManager::RetrieveStruct(Store store, const TypedRegion* R) {
|
|||
}
|
||||
|
||||
SVal RegionStoreManager::RetrieveArray(Store store, const TypedRegion * R) {
|
||||
assert(isa<ConstantArrayType>(R->getValueType()));
|
||||
assert(Ctx.getAsConstantArrayType(R->getValueType()));
|
||||
return ValMgr.makeLazyCompoundVal(store, R);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue