From: Duncan P. N. Exon Smith Date: Wed, 15 Apr 2015 00:13:51 +0000 (+0000) Subject: Fix build error from r234957 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bff2c565dfa467b7717b4b6f94c18787d48c4fea;p=oota-llvm.git Fix build error from r234957 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234958 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/gold/gold-plugin.cpp b/tools/gold/gold-plugin.cpp index 31a9b950ce9..724e93cb8c7 100644 --- a/tools/gold/gold-plugin.cpp +++ b/tools/gold/gold-plugin.cpp @@ -734,8 +734,7 @@ static void runLTOPasses(Module &M, TargetMachine &TM) { passes.run(M); } -static void saveBCFile(StringRef Path, Module &M, - bool ShouldPreserveUseListOrder) { +static void saveBCFile(StringRef Path, Module &M) { std::error_code EC; raw_fd_ostream OS(Path, EC, sys::fs::OpenFlags::F_None); if (EC)