diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-07-01 00:01:02 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-07-01 00:01:02 +0000 |
commit | 80d753fd312b35d2cddddacd156592b62b03770b (patch) | |
tree | 7d5e38d2cb3e8a69910cbead9a14e682db45d270 /lib/Analysis/CFRefCount.cpp | |
parent | b7cfe88e88cb4f46308de89cf3f0c81bfe624128 (diff) |
Temporarily treat "Autorelease" as "StopTracking". This is the original behavior.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52940 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CFRefCount.cpp')
-rw-r--r-- | lib/Analysis/CFRefCount.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp index 60a1a6a9c9..1cece43aa0 100644 --- a/lib/Analysis/CFRefCount.cpp +++ b/lib/Analysis/CFRefCount.cpp @@ -1818,7 +1818,6 @@ CFRefCount::RefBindings CFRefCount::Update(RefBindings B, SymbolID sym, default: assert (false && "Unhandled CFRef transition."); - case Autorelease: case MayEscape: if (V.getKind() == RefVal::Owned) { V = V ^ RefVal::NotOwned; @@ -1836,6 +1835,7 @@ CFRefCount::RefBindings CFRefCount::Update(RefBindings B, SymbolID sym, return B; + case Autorelease: case StopTracking: return RefBFactory.Remove(B, sym); |