mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Add const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205013 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
76eb786cf7
commit
3a2bbc9bf4
@ -90,7 +90,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) {}
|
||||
|
||||
/// applyFixup - Apply the \p Value for given \p Fixup into the provided
|
||||
|
@ -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:
|
||||
|
@ -156,7 +156,7 @@ public:
|
||||
/// if necessary.
|
||||
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) override;
|
||||
|
||||
|
||||
@ -592,7 +592,7 @@ void ARMAsmBackend::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) {
|
||||
const MCSymbolRefExpr *A = Target.getSymA();
|
||||
// Some fixups to thumb function symbols need the low bit (thumb bit)
|
||||
|
@ -254,7 +254,7 @@ void MipsAsmBackend::processFixupValue(const MCAssembler &Asm,
|
||||
const MCAsmLayout &Layout,
|
||||
const MCFixup &Fixup,
|
||||
const MCFragment *DF,
|
||||
MCValue &Target,
|
||||
const MCValue &Target,
|
||||
uint64_t &Value,
|
||||
bool &IsResolved) {
|
||||
// At this point we'll ignore the value returned by adjustFixupValue as
|
||||
|
@ -83,7 +83,8 @@ public:
|
||||
|
||||
void 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);
|
||||
|
||||
}; // class MipsAsmBackend
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user