Temporarily treat "Autorelease" as "StopTracking". This is the original behavior.

llvm-svn: 52940
This commit is contained in:
Ted Kremenek 2008-07-01 00:01:02 +00:00
parent 5071fcde24
commit bc6d850088
1 changed files with 1 additions and 1 deletions

View File

@ -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);