From: Fangrui Song Date: Fri, 19 Apr 2019 08:03:20 +0000 (+0000) Subject: [MergeFunc] Delete unused FunctionNode::release() X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f08f66dccb41ada8a6e9ff2977ef7b3877726798;p=llvm [MergeFunc] Delete unused FunctionNode::release() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358742 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/IPO/MergeFunctions.cpp b/lib/Transforms/IPO/MergeFunctions.cpp index 9b3bf850528..08a6c4e9963 100644 --- a/lib/Transforms/IPO/MergeFunctions.cpp +++ b/lib/Transforms/IPO/MergeFunctions.cpp @@ -189,8 +189,6 @@ public: void replaceBy(Function *G) const { F = G; } - - void release() { F = nullptr; } }; /// MergeFunctions finds functions which will generate identical machine code,