Author: zhongxingxu
Date: Tue Apr 28 21:30:09 2009
New Revision: 70358

URL: http://llvm.org/viewvc/llvm-project?rev=70358&view=rev
Log:
As discussed with Ted offline, re-apply r70293.

Modified:
    cfe/trunk/lib/Analysis/CFRefCount.cpp

Modified: cfe/trunk/lib/Analysis/CFRefCount.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/CFRefCount.cpp?rev=70358&r1=70357&r2=70358&view=diff

==============================================================================
--- cfe/trunk/lib/Analysis/CFRefCount.cpp (original)
+++ cfe/trunk/lib/Analysis/CFRefCount.cpp Tue Apr 28 21:30:09 2009
@@ -1919,14 +1919,7 @@
         //  disambiguate conjured symbols. 
         
         const TypedRegion* R = dyn_cast<TypedRegion>(MR->getRegion());
-        
-        // Blast through TypedViewRegions to get the original region type.
-        while (R) {
-          const TypedViewRegion* ATR = dyn_cast<TypedViewRegion>(R);
-          if (!ATR) break;
-          R = dyn_cast<TypedRegion>(ATR->getSuperRegion());
-        }
-        
+
         if (R) {          
           // Is the invalidated variable something that we were tracking?
           SymbolRef Sym = state.GetSValAsScalarOrLoc(R).getAsLocSymbol();


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to