[lld] r204352 - [Mips] Remove unused member function argument.
Simon Atanasyan
simon at atanasyan.com
Thu Mar 20 09:25:58 PDT 2014
Author: atanasyan
Date: Thu Mar 20 11:25:58 2014
New Revision: 204352
URL: http://llvm.org/viewvc/llvm-project?rev=204352&view=rev
Log:
[Mips] Remove unused member function argument.
Modified:
lld/trunk/lib/ReaderWriter/ELF/Mips/MipsRelocationPass.cpp
Modified: lld/trunk/lib/ReaderWriter/ELF/Mips/MipsRelocationPass.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Mips/MipsRelocationPass.cpp?rev=204352&r1=204351&r2=204352&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/Mips/MipsRelocationPass.cpp (original)
+++ lld/trunk/lib/ReaderWriter/ELF/Mips/MipsRelocationPass.cpp Thu Mar 20 11:25:58 2014
@@ -154,7 +154,7 @@ private:
std::vector<ObjectAtom *> _objectVector;
/// \brief Handle a specific reference.
- void handleReference(const DefinedAtom &atom, const Reference &ref);
+ void handleReference(const Reference &ref);
/// \brief Calculate AHL addendums for the atom's references.
void calculateAHLs(const DefinedAtom &atom);
@@ -186,7 +186,7 @@ void RelocationPass::perform(std::unique
// Process all references.
for (const auto &atom : mf->defined())
for (const auto &ref : *atom)
- handleReference(*atom, *ref);
+ handleReference(*ref);
uint64_t ordinal = 0;
@@ -259,8 +259,7 @@ void RelocationPass::calculateAHLs(const
assert(references.empty());
}
-void RelocationPass::handleReference(const DefinedAtom &atom,
- const Reference &ref) {
+void RelocationPass::handleReference(const Reference &ref) {
if (ref.kindNamespace() != lld::Reference::KindNamespace::ELF)
return;
assert(ref.kindArch() == Reference::KindArch::Mips);
More information about the llvm-commits
mailing list