forked from OSchip/llvm-project
[Mips] Remove duplicated typedef's
No functional changes. llvm-svn: 227048
This commit is contained in:
parent
752df2c767
commit
d94b0e6541
|
@ -17,8 +17,6 @@
|
||||||
namespace lld {
|
namespace lld {
|
||||||
namespace elf {
|
namespace elf {
|
||||||
|
|
||||||
typedef llvm::object::ELFType<llvm::support::little, 2, false> Mips32ElELFType;
|
|
||||||
|
|
||||||
struct MipsELFFileCreateTraits {
|
struct MipsELFFileCreateTraits {
|
||||||
typedef llvm::ErrorOr<std::unique_ptr<lld::File>> result_type;
|
typedef llvm::ErrorOr<std::unique_ptr<lld::File>> result_type;
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,6 @@
|
||||||
using namespace lld;
|
using namespace lld;
|
||||||
using namespace elf;
|
using namespace elf;
|
||||||
|
|
||||||
typedef llvm::object::ELFType<llvm::support::little, 2, false> Mips32ElELFType;
|
|
||||||
|
|
||||||
MipsTargetHandler::MipsTargetHandler(MipsLinkingContext &ctx)
|
MipsTargetHandler::MipsTargetHandler(MipsLinkingContext &ctx)
|
||||||
: _ctx(ctx), _runtimeFile(new MipsRuntimeFile<Mips32ElELFType>(ctx)),
|
: _ctx(ctx), _runtimeFile(new MipsRuntimeFile<Mips32ElELFType>(ctx)),
|
||||||
_targetLayout(new MipsTargetLayout<Mips32ElELFType>(ctx)),
|
_targetLayout(new MipsTargetLayout<Mips32ElELFType>(ctx)),
|
||||||
|
|
Loading…
Reference in New Issue