diff options
author | Jordy Rose <jediknil@belkadan.com> | 2010-08-03 20:44:35 +0000 |
---|---|---|
committer | Jordy Rose <jediknil@belkadan.com> | 2010-08-03 20:44:35 +0000 |
commit | ff59efd65bb1f2f8d005079597f814a3c8381f95 (patch) | |
tree | 59c765af616e3fe64c00f40c2687084dc7c1609c /lib/Checker/GRExprEngine.cpp | |
parent | eb8837b88c18631c69ac75f64ab1853762063180 (diff) |
Makes GRState::makeWithStore private, to encourage clients to make store changes through GRState instead of directly accessing the StoreManager. Also adds cover methods for InvalidateRegion(s) and EnterStackFrame to GRState.
This is in preparation for proposed region change notifications. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110137 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/GRExprEngine.cpp')
-rw-r--r-- | lib/Checker/GRExprEngine.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Checker/GRExprEngine.cpp b/lib/Checker/GRExprEngine.cpp index 328dacfe90..7f8bb9b0cf 100644 --- a/lib/Checker/GRExprEngine.cpp +++ b/lib/Checker/GRExprEngine.cpp @@ -1454,8 +1454,7 @@ void GRExprEngine::ProcessCallEnter(GRCallEnterNodeBuilder &B) { B.getBlock(), B.getIndex()); - const GRState *state = B.getState(); - state = getStoreManager().EnterStackFrame(state, LocCtx); + const GRState *state = B.getState()->EnterStackFrame(LocCtx); B.GenerateNode(state, LocCtx); } |