[lld] r203398 - [Mips] Remove unused class field.
Simon Atanasyan
simon at atanasyan.com
Sun Mar 9 06:04:45 PDT 2014
Author: atanasyan
Date: Sun Mar 9 08:04:45 2014
New Revision: 203398
URL: http://llvm.org/viewvc/llvm-project?rev=203398&view=rev
Log:
[Mips] Remove unused class field.
Modified:
lld/trunk/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.h
lld/trunk/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp
Modified: lld/trunk/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.h?rev=203398&r1=203397&r2=203398&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.h (original)
+++ lld/trunk/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.h Sun Mar 9 08:04:45 2014
@@ -19,9 +19,8 @@ class MipsTargetHandler;
class MipsTargetRelocationHandler final
: public TargetRelocationHandler<Mips32ElELFType> {
public:
- MipsTargetRelocationHandler(MipsLinkingContext &context,
- MipsTargetLayout<Mips32ElELFType> &layout)
- : _mipsLinkingContext(context), _mipsTargetLayout(layout) {}
+ MipsTargetRelocationHandler(MipsTargetLayout<Mips32ElELFType> &layout)
+ : _mipsTargetLayout(layout) {}
~MipsTargetRelocationHandler();
@@ -42,7 +41,6 @@ private:
const lld::AtomLayout &atom, int64_t gpAddr,
int64_t loAddend) const;
- MipsLinkingContext &_mipsLinkingContext LLVM_ATTRIBUTE_UNUSED;
MipsTargetLayout<Mips32ElELFType> &_mipsTargetLayout;
};
Modified: lld/trunk/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp?rev=203398&r1=203397&r2=203398&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp (original)
+++ lld/trunk/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp Sun Mar 9 08:04:45 2014
@@ -23,7 +23,7 @@ MipsTargetHandler::MipsTargetHandler(Mip
_mipsRuntimeFile(new MipsRuntimeFile<Mips32ElELFType>(context)),
_mipsTargetLayout(new MipsTargetLayout<Mips32ElELFType>(context)),
_mipsRelocationHandler(
- new MipsTargetRelocationHandler(context, *_mipsTargetLayout.get())) {}
+ new MipsTargetRelocationHandler(*_mipsTargetLayout.get())) {}
std::unique_ptr<Writer> MipsTargetHandler::getWriter() {
switch (_mipsLinkingContext.getOutputELFType()) {
More information about the llvm-commits
mailing list