Cleanup code with utility method.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59951 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp
index 084796c..cb1acea 100644
--- a/lib/Analysis/GRExprEngine.cpp
+++ b/lib/Analysis/GRExprEngine.cpp
@@ -1074,8 +1074,8 @@
// 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,