diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-06-21 23:06:53 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-06-21 23:06:53 +0000 |
commit | 88d9e37ec84c86942284d69f3794b824a99e5fab (patch) | |
tree | 4c7263115d8cbdc49e6170a891c5013b8ff0a308 /llvm/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp | |
parent | 6da25f4fc47353834ba0f1f8e6b9ef570caa662a (diff) | |
download | bcm5719-llvm-88d9e37ec84c86942284d69f3794b824a99e5fab.tar.gz bcm5719-llvm-88d9e37ec84c86942284d69f3794b824a99e5fab.zip |
Use a MutableArrayRef. NFC.
llvm-svn: 305968
Diffstat (limited to 'llvm/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp')
-rw-r--r-- | llvm/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp b/llvm/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp index 6d3d4db0360..91f271435e2 100644 --- a/llvm/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp +++ b/llvm/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp @@ -235,9 +235,9 @@ static unsigned calculateMMLEIndex(unsigned i) { /// ApplyFixup - Apply the \p Value for given \p Fixup into the provided /// data fragment, at the offset specified by the fixup and following the /// fixup kind as appropriate. -void MipsAsmBackend::applyFixup(const MCFixup &Fixup, char *Data, - unsigned DataSize, uint64_t Value, bool IsPCRel, - MCContext &Ctx) const { +void MipsAsmBackend::applyFixup(const MCFixup &Fixup, + MutableArrayRef<char> Data, uint64_t Value, + bool IsPCRel, MCContext &Ctx) const { MCFixupKind Kind = Fixup.getKind(); Value = adjustFixupValue(Fixup, Value, Ctx); |