[Mips] Remove duplicated typedef's
authorSimon Atanasyan <simon@atanasyan.com>
Sun, 25 Jan 2015 16:17:10 +0000 (16:17 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Sun, 25 Jan 2015 16:17:10 +0000 (16:17 +0000)
No functional changes.

llvm-svn: 227048

lld/lib/ReaderWriter/ELF/Mips/MipsELFReader.h
lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp

index 01d95d8..9a71836 100644 (file)
@@ -17,8 +17,6 @@
 namespace lld {
 namespace elf {
 
-typedef llvm::object::ELFType<llvm::support::little, 2, false> Mips32ElELFType;
-
 struct MipsELFFileCreateTraits {
   typedef llvm::ErrorOr<std::unique_ptr<lld::File>> result_type;
 
index 331a1d7..ed80a48 100644 (file)
@@ -16,8 +16,6 @@
 using namespace lld;
 using namespace elf;
 
-typedef llvm::object::ELFType<llvm::support::little, 2, false> Mips32ElELFType;
-
 MipsTargetHandler::MipsTargetHandler(MipsLinkingContext &ctx)
     : _ctx(ctx), _runtimeFile(new MipsRuntimeFile<Mips32ElELFType>(ctx)),
       _targetLayout(new MipsTargetLayout<Mips32ElELFType>(ctx)),