@@ -389,13 +389,13 @@ static bool offset_for(uint32_t insn1, uint32_t insn2, ptrdiff_t &byte_offset) {
389
389
return false ;
390
390
}
391
391
392
- class Decoder : public RelocActions {
393
- virtual reloc_insn adrpMem () { return &Decoder ::adrpMem_impl; }
394
- virtual reloc_insn adrpAdd () { return &Decoder ::adrpAdd_impl; }
395
- virtual reloc_insn adrpMovk () { return &Decoder ::adrpMovk_impl; }
392
+ class AArch64Decoder : public RelocActions {
393
+ virtual reloc_insn adrpMem () { return &AArch64Decoder ::adrpMem_impl; }
394
+ virtual reloc_insn adrpAdd () { return &AArch64Decoder ::adrpAdd_impl; }
395
+ virtual reloc_insn adrpMovk () { return &AArch64Decoder ::adrpMovk_impl; }
396
396
397
397
public:
398
- Decoder (address insn_addr, uint32_t insn) : RelocActions(insn_addr, insn) {}
398
+ AArch64Decoder (address insn_addr, uint32_t insn) : RelocActions(insn_addr, insn) {}
399
399
400
400
virtual int loadStore (address insn_addr, address &target) {
401
401
intptr_t offset = Instruction_aarch64::sextract (_insn, 23 , 5 );
@@ -491,7 +491,7 @@ class Decoder : public RelocActions {
491
491
};
492
492
493
493
address MacroAssembler::target_addr_for_insn (address insn_addr, uint32_t insn) {
494
- Decoder decoder (insn_addr, insn);
494
+ AArch64Decoder decoder (insn_addr, insn);
495
495
address target;
496
496
decoder.run (insn_addr, target);
497
497
return target;
0 commit comments