diff options
| author | Rui Ueyama <ruiu@google.com> | 2015-02-13 04:02:55 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2015-02-13 04:02:55 +0000 |
| commit | d9cb6203303e8aff32ed0e96c3cabf0e4e2ffb44 (patch) | |
| tree | 0a8f34b0f5bafa31f1384ea4febd908dd5cab5fb /lld/lib/ReaderWriter/ELF/DefaultLayout.h | |
| parent | 3b057b3216d5e54175b837b913ceff53d5b36218 (diff) | |
| download | bcm5719-llvm-d9cb6203303e8aff32ed0e96c3cabf0e4e2ffb44.tar.gz bcm5719-llvm-d9cb6203303e8aff32ed0e96c3cabf0e4e2ffb44.zip | |
Remove unused parameters.
llvm-svn: 229055
Diffstat (limited to 'lld/lib/ReaderWriter/ELF/DefaultLayout.h')
| -rw-r--r-- | lld/lib/ReaderWriter/ELF/DefaultLayout.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/lib/ReaderWriter/ELF/DefaultLayout.h b/lld/lib/ReaderWriter/ELF/DefaultLayout.h index f1c00a66c3f..86e63a156c2 100644 --- a/lld/lib/ReaderWriter/ELF/DefaultLayout.h +++ b/lld/lib/ReaderWriter/ELF/DefaultLayout.h @@ -571,10 +571,10 @@ ErrorOr<const lld::AtomLayout &> DefaultLayout<ELFT>::addAtom(const Atom *atom) // Add runtime relocations to the .rela section. for (const auto &reloc : *definedAtom) { bool isLocalReloc = true; - if (_context.isDynamicRelocation(*definedAtom, *reloc)) { + if (_context.isDynamicRelocation(*reloc)) { getDynamicRelocationTable()->addRelocation(*definedAtom, *reloc); isLocalReloc = false; - } else if (_context.isPLTRelocation(*definedAtom, *reloc)) { + } else if (_context.isPLTRelocation(*reloc)) { getPLTRelocationTable()->addRelocation(*definedAtom, *reloc); isLocalReloc = false; } |

