[cfe-commits] r62727 - /cfe/trunk/lib/Analysis/RegionStore.cpp
Ted Kremenek
kremenek at apple.com
Wed Jan 21 14:58:50 PST 2009
Author: kremenek
Date: Wed Jan 21 16:58:50 2009
New Revision: 62727
URL: http://llvm.org/viewvc/llvm-project?rev=62727&view=rev
Log:
Combine two branches into one. No functionality change.
Modified:
cfe/trunk/lib/Analysis/RegionStore.cpp
Modified: cfe/trunk/lib/Analysis/RegionStore.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/RegionStore.cpp?rev=62727&r1=62726&r2=62727&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/RegionStore.cpp (original)
+++ cfe/trunk/lib/Analysis/RegionStore.cpp Wed Jan 21 16:58:50 2009
@@ -323,10 +323,8 @@
SVal RegionStoreManager::getLValueElement(const GRState* St,
SVal Base, SVal Offset) {
- if (Base.isUnknownOrUndef())
- return Base;
- if (isa<loc::SymbolVal>(Base))
+ if (Base.isUnknownOrUndef() || isa<loc::SymbolVal>(Base))
return Base;
loc::MemRegionVal& BaseL = cast<loc::MemRegionVal>(Base);
More information about the cfe-commits
mailing list