summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-15 00:13:51 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-15 00:13:51 +0000
commite406c84e3004530c0fd008f4b1121dcce034f82d (patch)
tree7ac8450cdef32be3959fe842d8d419a227d98d8c
parenta052ed6381f15a78e6e49a665b255234762fa15a (diff)
downloadbcm5719-llvm-e406c84e3004530c0fd008f4b1121dcce034f82d.tar.gz
bcm5719-llvm-e406c84e3004530c0fd008f4b1121dcce034f82d.zip
Fix build error from r234957
llvm-svn: 234958
-rw-r--r--llvm/tools/gold/gold-plugin.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp
index 31a9b950ce9..724e93cb8c7 100644
--- a/llvm/tools/gold/gold-plugin.cpp
+++ b/llvm/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)
OpenPOWER on IntegriCloud