From: Michael Gottesman Date: Sat, 6 Jul 2013 18:43:05 +0000 (+0000) Subject: [objc-arc] When we initialize ARCRuntimeEntryPoints, make sure we reset all reference... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=24bf7c0db4f59a6af01d529b8773bbe44cec1d2a;p=oota-llvm.git [objc-arc] When we initialize ARCRuntimeEntryPoints, make sure we reset all references to entrypoint declarations as well. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185764 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/ObjCARC/ARCRuntimeEntryPoints.h b/lib/Transforms/ObjCARC/ARCRuntimeEntryPoints.h index d45be82b1f3..0eafa9fc3e0 100644 --- a/lib/Transforms/ObjCARC/ARCRuntimeEntryPoints.h +++ b/lib/Transforms/ObjCARC/ARCRuntimeEntryPoints.h @@ -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) {