[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
This commit is contained in:
Michael Gottesman 2013-07-06 18:43:05 +00:00
parent 2b52880592
commit 24bf7c0db4

View File

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