[llvm] r185764 - [objc-arc] When we initialize ARCRuntimeEntryPoints, make sure we reset all references to entrypoint declarations as well.
Michael Gottesman
mgottesman at apple.com
Sat Jul 6 11:43:05 PDT 2013
Author: mgottesman
Date: Sat Jul 6 13:43:05 2013
New Revision: 185764
URL: http://llvm.org/viewvc/llvm-project?rev=185764&view=rev
Log:
[objc-arc] When we initialize ARCRuntimeEntryPoints, make sure we reset all references to entrypoint declarations as well.
Modified:
llvm/trunk/lib/Transforms/ObjCARC/ARCRuntimeEntryPoints.h
Modified: llvm/trunk/lib/Transforms/ObjCARC/ARCRuntimeEntryPoints.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/ObjCARC/ARCRuntimeEntryPoints.h?rev=185764&r1=185763&r2=185764&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/ObjCARC/ARCRuntimeEntryPoints.h (original)
+++ llvm/trunk/lib/Transforms/ObjCARC/ARCRuntimeEntryPoints.h Sat Jul 6 13:43:05 2013
@@ -58,6 +58,15 @@ public:
void Initialize(Module *M) {
TheModule = M;
+ AutoreleaseRV = 0;
+ Release = 0;
+ Retain = 0;
+ RetainBlock = 0;
+ Autorelease = 0;
+ StoreStrong = 0;
+ RetainRV = 0;
+ RetainAutorelease = 0;
+ RetainAutoreleaseRV = 0;
}
Constant *get(const EntryPointType entry) {
More information about the llvm-commits
mailing list