projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
884f557
)
[MergeFunc] Delete unused FunctionNode::release()
author
Fangrui Song
<maskray@google.com>
Fri, 19 Apr 2019 08:03:20 +0000
(08:03 +0000)
committer
Fangrui Song
<maskray@google.com>
Fri, 19 Apr 2019 08:03:20 +0000
(08:03 +0000)
llvm-svn: 358742
llvm/lib/Transforms/IPO/MergeFunctions.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/IPO/MergeFunctions.cpp
b/llvm/lib/Transforms/IPO/MergeFunctions.cpp
index
9b3bf85
..
08a6c4e
100644
(file)
--- a/
llvm/lib/Transforms/IPO/MergeFunctions.cpp
+++ b/
llvm/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,