From f08f66dccb41ada8a6e9ff2977ef7b3877726798 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Fri, 19 Apr 2019 08:03:20 +0000 Subject: [PATCH] [MergeFunc] Delete unused FunctionNode::release() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358742 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/IPO/MergeFunctions.cpp | 2 -- 1 file changed, 2 deletions(-) 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, -- 2.40.0