]> granicus.if.org Git - clang/commit
Revert "Convert some ObjC msgSends to runtime calls."
authorPete Cooper <peter_cooper@apple.com>
Mon, 21 Mar 2016 20:50:03 +0000 (20:50 +0000)
committerPete Cooper <peter_cooper@apple.com>
Mon, 21 Mar 2016 20:50:03 +0000 (20:50 +0000)
commit2a988fcf43affedeadac7714fbce007eec732b2b
treef4ebbd93b3353498bf2b4a4c5a6289a03e64026a
parent2ce38073fd10b6ec77c8ceb594a93ac238e7ee48
Revert "Convert some ObjC msgSends to runtime calls."

This reverts commit r263607.

This change caused more objc_retain/objc_release calls in the IR but those
are then incorrectly optimized by the ARC optimizer.  Work is going to have
to be done to ensure the ARC optimizer doesn't optimize user written RR, but
that should land before this change.

This change will also need to be updated to take account for any changes required
to ensure that user written calls to RR are distinct from those inserted by ARC.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@263984 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/ObjCRuntime.h
include/clang/Driver/Options.td
include/clang/Frontend/CodeGenOptions.def
lib/CodeGen/CGObjC.cpp
lib/CodeGen/CodeGenFunction.h
lib/CodeGen/CodeGenModule.h
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGenObjC/convert-messages-to-runtime-calls.m [deleted file]
test/Driver/objc-convert-messages-to-runtime-calls.m [deleted file]