[cfe-commits] r52940 - /cfe/trunk/lib/Analysis/CFRefCount.cpp
Ted Kremenek
kremenek at apple.com
Mon Jun 30 17:01:02 PDT 2008
Author: kremenek
Date: Mon Jun 30 19:01:02 2008
New Revision: 52940
URL: http://llvm.org/viewvc/llvm-project?rev=52940&view=rev
Log:
Temporarily treat "Autorelease" as "StopTracking". This is the original behavior.
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=52940&r1=52939&r2=52940&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/CFRefCount.cpp (original)
+++ cfe/trunk/lib/Analysis/CFRefCount.cpp Mon Jun 30 19:01:02 2008
@@ -1818,7 +1818,6 @@
default:
assert (false && "Unhandled CFRef transition.");
- case Autorelease:
case MayEscape:
if (V.getKind() == RefVal::Owned) {
V = V ^ RefVal::NotOwned;
@@ -1836,6 +1835,7 @@
return B;
+ case Autorelease:
case StopTracking:
return RefBFactory.Remove(B, sym);
More information about the cfe-commits
mailing list