[MergeFunc] Delete unused FunctionNode::release()
authorFangrui Song <maskray@google.com>
Fri, 19 Apr 2019 08:03:20 +0000 (08:03 +0000)
committerFangrui Song <maskray@google.com>
Fri, 19 Apr 2019 08:03:20 +0000 (08:03 +0000)
llvm-svn: 358742

llvm/lib/Transforms/IPO/MergeFunctions.cpp

index 9b3bf85..08a6c4e 100644 (file)
@@ -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,