From 1cda51bbea62c61fff3f8ff6225faa8e270cabd7 Mon Sep 17 00:00:00 2001 From: Oxore Date: Wed, 17 May 2023 00:16:21 +0300 Subject: Rename `reloc` to `ref` everywhere --- disasm.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'disasm.h') diff --git a/disasm.h b/disasm.h index 98b6fb6..925925c 100644 --- a/disasm.h +++ b/disasm.h @@ -297,9 +297,9 @@ struct Arg { int SNPrint( char *buf, size_t bufsz, - unsigned relocation = 0, + unsigned ref_kinds = 0, uint32_t self_addr = 0, - uint32_t reloc_addr = 0) const; + uint32_t ref_addr = 0) const; }; enum class TracedNodeType { @@ -350,9 +350,9 @@ struct Op { } int FPrint( FILE *, - unsigned relocation = 0, + unsigned ref_kinds = 0, uint32_t self_addr = 0, - uint32_t reloc_addr = 0) const; + uint32_t ref_addr = 0) const; }; struct DisasmNode { @@ -361,10 +361,10 @@ struct DisasmNode { const uint32_t offset{}; /// Instruction size in bytes size_t size{kInstructionSizeStepBytes}; - /// Indicates whether `reloc_addr` should be interpreted and how - bool has_relocation{}; + /// Indicates whether `ref_addr` should be interpreted and how + bool has_ref{}; /// Absolute address of where to branch to - uint32_t reloc_addr{}; + uint32_t ref_addr{}; /// Indicates whether instruction is a call (BSR, JSR) or just a branch /// (Bcc, JMP) if `has_branch_addr` is set bool is_call{}; -- cgit v1.2.3