projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the build of the gold plugin.
[oota-llvm.git]
/
tools
/
gold
/
gold-plugin.cpp
diff --git
a/tools/gold/gold-plugin.cpp
b/tools/gold/gold-plugin.cpp
index 87d7a4fa0ad5d9d3bc85144a34a10444c0df802a..9905d489b55c780b7124ca1b5e97743a119f8da4 100644
(file)
--- a/
tools/gold/gold-plugin.cpp
+++ b/
tools/gold/gold-plugin.cpp
@@
-473,7
+473,6
@@
static GlobalObject *makeInternalReplacement(GlobalObject *GO) {
if (auto *F = dyn_cast<Function>(GO)) {
if (F->materialize())
message(LDPL_FATAL, "LLVM gold plugin has failed to read a function");
- }
auto *NewF = Function::Create(F->getFunctionType(), F->getLinkage(),
F->getName(), M);