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
Showing
- include/clang/Basic/ObjCRuntime.h 0 additions, 73 deletionsinclude/clang/Basic/ObjCRuntime.h
- include/clang/Driver/Options.td 0 additions, 4 deletionsinclude/clang/Driver/Options.td
- include/clang/Frontend/CodeGenOptions.def 0 additions, 2 deletionsinclude/clang/Frontend/CodeGenOptions.def
- lib/CodeGen/CGObjC.cpp 15 additions, 96 deletionslib/CodeGen/CGObjC.cpp
- lib/CodeGen/CodeGenFunction.h 2 additions, 6 deletionslib/CodeGen/CodeGenFunction.h
- lib/CodeGen/CodeGenModule.h 1 addition, 4 deletionslib/CodeGen/CodeGenModule.h
- lib/Driver/Tools.cpp 0 additions, 12 deletionslib/Driver/Tools.cpp
- lib/Frontend/CompilerInvocation.cpp 0 additions, 3 deletionslib/Frontend/CompilerInvocation.cpp
- test/CodeGenObjC/convert-messages-to-runtime-calls.m 0 additions, 129 deletionstest/CodeGenObjC/convert-messages-to-runtime-calls.m
- test/Driver/objc-convert-messages-to-runtime-calls.m 0 additions, 7 deletionstest/Driver/objc-convert-messages-to-runtime-calls.m
Loading
Please register or sign in to comment