From: Rafael Espindola Date: Sat, 1 Nov 2014 23:49:44 +0000 (+0000) Subject: Fix the build of the gold plugin. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fc095209b84c0d3b97a26c0fe5d76860e9d08272;p=oota-llvm.git Fix the build of the gold plugin. I did the previous patch on OS X and didn't noticed the issue. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221070 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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);