summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2018-05-16 00:21:47 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2018-05-16 00:21:47 +0000
commitec8236ead1487e6a2d4f55a594c1a0144407a6c6 (patch)
treecd51f1f01cfafc54873b24258df4542ffd71f308 /llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
parent76d463af0ae39ea3bca97186d8614331da8fe345 (diff)
downloadbcm5719-llvm-ec8236ead1487e6a2d4f55a594c1a0144407a6c6.tar.gz
bcm5719-llvm-ec8236ead1487e6a2d4f55a594c1a0144407a6c6.zip
ARM: Remove unnecessary argument. NFCI.
IsLittleEndian is already a field of ARMAsmBackend. llvm-svn: 332420
Diffstat (limited to 'llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp')
-rw-r--r--llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp6
1 files changed, 2 insertions, 4 deletions
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.
OpenPOWER on IntegriCloud