diff --git a/lib/MemoryModel/MemModel.cpp b/lib/MemoryModel/MemModel.cpp index 9bd65f987..01c0d172d 100644 --- a/lib/MemoryModel/MemModel.cpp +++ b/lib/MemoryModel/MemModel.cpp @@ -193,7 +193,7 @@ bool SymbolTableInfo::computeGepOffset(const llvm::User *V, LocationSet& ls) { // Handling array types, skipe array handling here // We treat whole array as one, then we can distinguish different field of an array of struct // e.g. s[1].f1 is differet from s[0].f2 - if(isa(gi.getIndexedType())) + if(gi.isBoundedSequential()) continue;