diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-03-28 16:06:09 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-03-28 16:06:09 +0000 |
commit | 3e3de5e353d99a2ac3d21a13f09ccdbc831db23d (patch) | |
tree | 4a346f4e83f7d0a0dec0bd0d6f261d6cd20a8a46 /llvm/lib/Target/AArch64 | |
parent | 4a37d60acab7aaaf94ed7d0768ef6355fe2a87f8 (diff) | |
download | bcm5719-llvm-3e3de5e353d99a2ac3d21a13f09ccdbc831db23d.tar.gz bcm5719-llvm-3e3de5e353d99a2ac3d21a13f09ccdbc831db23d.zip |
Add const.
llvm-svn: 205013
Diffstat (limited to 'llvm/lib/Target/AArch64')
-rw-r--r-- | llvm/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp b/llvm/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp index 7118a7fd237..4e6af63382d 100644 --- a/llvm/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp +++ b/llvm/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp @@ -43,7 +43,7 @@ public: virtual void processFixupValue(const MCAssembler &Asm, const MCAsmLayout &Layout, const MCFixup &Fixup, const MCFragment *DF, - MCValue &Target, uint64_t &Value, + const MCValue &Target, uint64_t &Value, bool &IsResolved); }; } // end anonymous namespace @@ -52,8 +52,8 @@ void AArch64AsmBackend::processFixupValue(const MCAssembler &Asm, const MCAsmLayout &Layout, const MCFixup &Fixup, const MCFragment *DF, - MCValue &Target, uint64_t &Value, - bool &IsResolved) { + const MCValue &Target, + uint64_t &Value, bool &IsResolved) { // The ADRP instruction adds some multiple of 0x1000 to the current PC & // ~0xfff. This means that the required offset to reach a symbol can vary by // up to one step depending on where the ADRP is in memory. For example: |