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