From ec8236ead1487e6a2d4f55a594c1a0144407a6c6 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Wed, 16 May 2018 00:21:47 +0000 Subject: ARM: Remove unnecessary argument. NFCI. IsLittleEndian is already a field of ARMAsmBackend. llvm-svn: 332420 --- llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp') diff --git a/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp b/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp index 7388b6e46cd..81e027e1e35 100644 --- a/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp +++ b/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp @@ -359,8 +359,7 @@ static uint32_t joinHalfWords(uint32_t FirstHalf, uint32_t SecondHalf, unsigned ARMAsmBackend::adjustFixupValue(const MCAssembler &Asm, const MCFixup &Fixup, const MCValue &Target, uint64_t Value, - bool IsResolved, MCContext &Ctx, - bool IsLittleEndian) const { + bool IsResolved, MCContext &Ctx) const { unsigned Kind = Fixup.getKind(); // MachO tries to make .o files that look vaguely pre-linked, so for MOVW/MOVT @@ -885,8 +884,7 @@ void ARMAsmBackend::applyFixup(const MCAssembler &Asm, const MCFixup &Fixup, bool IsResolved) const { unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind()); MCContext &Ctx = Asm.getContext(); - Value = adjustFixupValue(Asm, Fixup, Target, Value, IsResolved, Ctx, - IsLittleEndian); + Value = adjustFixupValue(Asm, Fixup, Target, Value, IsResolved, Ctx); if (!Value) return; // Doesn't change encoding. -- cgit v1.2.3