diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-02-05 02:26:30 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-02-05 02:26:30 +0000 |
commit | bfcaf8048d1673320de60a22ca9c297d7484b2a8 (patch) | |
tree | d09d37cbff8aa84f7ef123881bae7138a33e2c78 /lib/Checker/SVals.cpp | |
parent | 9f9e0dbc13a85b35fcf36883619c7e6f89ca5a84 (diff) |
Change LazyCompoundVal to a <Store, MemRegion*> pair. We really don't need to
spread GRState* everywhere.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95354 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/SVals.cpp')
-rw-r--r-- | lib/Checker/SVals.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Checker/SVals.cpp b/lib/Checker/SVals.cpp index efa5521ebd..28b3fce050 100644 --- a/lib/Checker/SVals.cpp +++ b/lib/Checker/SVals.cpp @@ -153,8 +153,8 @@ void SVal::symbol_iterator::expand() { assert(false && "unhandled expansion case"); } -const GRState *nonloc::LazyCompoundVal::getState() const { - return static_cast<const LazyCompoundValData*>(Data)->getState(); +const void *nonloc::LazyCompoundVal::getStore() const { + return static_cast<const LazyCompoundValData*>(Data)->getStore(); } const TypedRegion *nonloc::LazyCompoundVal::getRegion() const { @@ -299,7 +299,7 @@ void NonLoc::dumpToStream(llvm::raw_ostream& os) const { } case nonloc::LazyCompoundValKind: { const nonloc::LazyCompoundVal &C = *cast<nonloc::LazyCompoundVal>(this); - os << "lazyCompoundVal{" << (void*) C.getState() << ',' << C.getRegion() + os << "lazyCompoundVal{" << (void*) C.getStore() << ',' << C.getRegion() << '}'; break; } |