[llvm-branch-commits] [cfe-branch] r71379 - /cfe/branches/Apple/Dib/lib/Analysis/RegionStore.cpp
Mike Stump
mrs at apple.com
Sat May 9 20:12:21 PDT 2009
Author: mrs
Date: Sat May 9 22:12:21 2009
New Revision: 71379
URL: http://llvm.org/viewvc/llvm-project?rev=71379&view=rev
Log:
Merge in 71357:
Do not create a TypedViewRegion when the base struct region is a symbolic
region. In the future we may set the cast-to type as the same time. But for
now, we simply leave it as it is.
Modified:
cfe/branches/Apple/Dib/lib/Analysis/RegionStore.cpp
Modified: cfe/branches/Apple/Dib/lib/Analysis/RegionStore.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/Dib/lib/Analysis/RegionStore.cpp?rev=71379&r1=71378&r2=71379&view=diff
==============================================================================
--- cfe/branches/Apple/Dib/lib/Analysis/RegionStore.cpp (original)
+++ cfe/branches/Apple/Dib/lib/Analysis/RegionStore.cpp Sat May 9 22:12:21 2009
@@ -371,10 +371,6 @@
switch (BaseL.getSubKind()) {
case loc::MemRegionKind:
BaseR = cast<loc::MemRegionVal>(BaseL).getRegion();
- if (const SymbolicRegion* SR = dyn_cast<SymbolicRegion>(BaseR)) {
- SymbolRef Sym = SR->getSymbol();
- BaseR = MRMgr.getTypedViewRegion(Sym->getType(getContext()), SR);
- }
break;
case loc::GotoLabelKind:
More information about the llvm-branch-commits
mailing list