[lld] r238175 - [Mips] Make the code shorter - use LLVM_ELF_IMPORT_TYPES_ELFT macro

Simon Atanasyan simon at atanasyan.com
Mon May 25 23:05:01 PDT 2015


Author: atanasyan
Date: Tue May 26 01:05:01 2015
New Revision: 238175

URL: http://llvm.org/viewvc/llvm-project?rev=238175&view=rev
Log:
[Mips] Make the code shorter - use LLVM_ELF_IMPORT_TYPES_ELFT macro

No functional changes.

Modified:
    lld/trunk/lib/ReaderWriter/ELF/Mips/MipsReginfo.h

Modified: lld/trunk/lib/ReaderWriter/ELF/Mips/MipsReginfo.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Mips/MipsReginfo.h?rev=238175&r1=238174&r2=238175&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/Mips/MipsReginfo.h (original)
+++ lld/trunk/lib/ReaderWriter/ELF/Mips/MipsReginfo.h Tue May 26 01:05:01 2015
@@ -35,8 +35,7 @@ struct Elf_RegInfo<ELFType<TargetEndiann
 };
 
 template <class ELFT> struct Elf_Mips_Options {
-  LLVM_ELF_IMPORT_TYPES(ELFT::TargetEndianness, ELFT::MaxAlignment,
-                        ELFT::Is64Bits)
+  LLVM_ELF_IMPORT_TYPES_ELFT(ELFT)
   uint8_t kind;     // Determines interpretation of variable part of descriptor
   uint8_t size;     // Byte size of descriptor, including this header
   Elf_Half section; // Section header index of section affected,





More information about the llvm-commits mailing list