[llvm] r253569 - Remove unused function parameter (NFC)
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 19 07:42:34 PST 2015
Author: mehdi_amini
Date: Thu Nov 19 09:42:34 2015
New Revision: 253569
URL: http://llvm.org/viewvc/llvm-project?rev=253569&view=rev
Log:
Remove unused function parameter (NFC)
From: Mehdi Amini <mehdi.amini at apple.com>
Modified:
llvm/trunk/tools/gold/gold-plugin.cpp
Modified: llvm/trunk/tools/gold/gold-plugin.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/gold/gold-plugin.cpp?rev=253569&r1=253568&r2=253569&view=diff
==============================================================================
--- llvm/trunk/tools/gold/gold-plugin.cpp (original)
+++ llvm/trunk/tools/gold/gold-plugin.cpp Thu Nov 19 09:42:34 2015
@@ -609,8 +609,7 @@ static void freeSymName(ld_plugin_symbol
}
static std::unique_ptr<FunctionInfoIndex>
-getFunctionIndexForFile(LLVMContext &Context, claimed_file &F,
- ld_plugin_input_file &Info) {
+getFunctionIndexForFile(claimed_file &F, ld_plugin_input_file &Info) {
if (get_symbols(F.handle, F.syms.size(), &F.syms[0]) != LDPS_OK)
message(LDPL_FATAL, "Failed to get symbol information");
@@ -911,7 +910,7 @@ static ld_plugin_status allSymbolsReadHo
message(LDPL_FATAL, "Failed to get file information");
std::unique_ptr<FunctionInfoIndex> Index =
- getFunctionIndexForFile(Context, F, File);
+ getFunctionIndexForFile(F, File);
CombinedIndex.mergeFrom(std::move(Index), ++NextModuleId);
}
More information about the llvm-commits
mailing list