diff --git a/llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp b/llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp --- a/llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp +++ b/llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp @@ -574,7 +574,6 @@ public: void init(Module &M); bool run(Function &F, AAResults &AA); - void releaseMemory(); bool hasCFGChanged() const { return CFGChanged; } }; } // end anonymous namespace @@ -2483,10 +2482,6 @@ return Changed; } -void ObjCARCOpt::releaseMemory() { - PA.clear(); -} - /// @} ///