Cleanup code with utility method.

llvm-svn: 59951
This commit is contained in:
Zhongxing Xu 2008-11-24 07:02:06 +00:00
parent 1e5665e6be
commit 6587c75488
1 changed files with 2 additions and 2 deletions

View File

@ -1074,8 +1074,8 @@ const GRState* GRExprEngine::EvalLocation(Stmt* Ex, NodeTy* Pred,
// Get the index of the accessed element.
SVal Idx = ER->getIndex();
// Get the extent of the array.
SVal NumElements = StateMgr.getStoreManager().getSizeInElements(StNotNull,
ER->getSuperRegion());
SVal NumElements = getStoreManager().getSizeInElements(StNotNull,
ER->getSuperRegion());
bool isFeasibleInBound = false;
const GRState* StInBound = AssumeInBound(StNotNull, Idx, NumElements,