diff --git a/tools/gold/gold-plugin.cpp b/tools/gold/gold-plugin.cpp index 87d7a4fa0ad..9905d489b55 100644 --- 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(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);