Remove unused argument.

llvm-svn: 178976
This commit is contained in:
Rafael Espindola 2013-04-07 14:25:39 +00:00
parent 5c488ef85c
commit 91e626ebd2
1 changed files with 1 additions and 3 deletions

View File

@ -201,7 +201,6 @@ static void emitDOTFile(const char *FileName, const MCFunction &f,
static void getSectionsAndSymbols(const macho::Header &Header,
MachOObjectFile *MachOObj,
InMemoryStruct<macho::SymtabLoadCommand> *SymtabLC,
std::vector<SectionRef> &Sections,
std::vector<SymbolRef> &Symbols,
SmallVectorImpl<uint64_t> &FoundFns) {
@ -295,8 +294,7 @@ void llvm::DisassembleInputMachO(StringRef Filename) {
std::vector<SymbolRef> Symbols;
SmallVector<uint64_t, 8> FoundFns;
getSectionsAndSymbols(Header, MachOOF.get(), &SymtabLC, Sections, Symbols,
FoundFns);
getSectionsAndSymbols(Header, MachOOF.get(), Sections, Symbols, FoundFns);
// Make a copy of the unsorted symbol list. FIXME: duplication
std::vector<SymbolRef> UnsortedSymbols(Symbols);