[lld] r227047 - [Mips] Use template class argument instead of hard-coded type name in
Simon Atanasyan
simon at atanasyan.com
Sun Jan 25 08:17:02 PST 2015
Author: atanasyan
Date: Sun Jan 25 10:17:02 2015
New Revision: 227047
URL: http://llvm.org/viewvc/llvm-project?rev=227047&view=rev
Log:
[Mips] Use template class argument instead of hard-coded type name in
the class field declarations.
No functional changes.
Modified:
lld/trunk/lib/ReaderWriter/ELF/Mips/MipsDynamicLibraryWriter.h
lld/trunk/lib/ReaderWriter/ELF/Mips/MipsExecutableWriter.h
Modified: lld/trunk/lib/ReaderWriter/ELF/Mips/MipsDynamicLibraryWriter.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Mips/MipsDynamicLibraryWriter.h?rev=227047&r1=227046&r2=227047&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/Mips/MipsDynamicLibraryWriter.h (original)
+++ lld/trunk/lib/ReaderWriter/ELF/Mips/MipsDynamicLibraryWriter.h Sun Jan 25 10:17:02 2015
@@ -47,7 +47,7 @@ protected:
private:
MipsELFWriter<ELFT> _writeHelper;
- MipsTargetLayout<Mips32ElELFType> &_mipsTargetLayout;
+ MipsTargetLayout<ELFT> &_mipsTargetLayout;
};
template <class ELFT>
Modified: lld/trunk/lib/ReaderWriter/ELF/Mips/MipsExecutableWriter.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Mips/MipsExecutableWriter.h?rev=227047&r1=227046&r2=227047&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/Mips/MipsExecutableWriter.h (original)
+++ lld/trunk/lib/ReaderWriter/ELF/Mips/MipsExecutableWriter.h Sun Jan 25 10:17:02 2015
@@ -41,7 +41,7 @@ protected:
private:
MipsELFWriter<ELFT> _writeHelper;
- MipsTargetLayout<Mips32ElELFType> &_mipsTargetLayout;
+ MipsTargetLayout<ELFT> &_mipsTargetLayout;
};
template <class ELFT>
More information about the llvm-commits
mailing list