diff options
author | Oxore <oxore@protonmail.com> | 2023-05-17 00:16:21 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2023-05-17 00:19:41 +0300 |
commit | 1cda51bbea62c61fff3f8ff6225faa8e270cabd7 (patch) | |
tree | 68b7f0d174899e3ef789d2000c50fe811dde423b /disasm.h | |
parent | 253628f0a481ac340642c30cd8e12536e4e17bd7 (diff) |
Rename `reloc` to `ref` everywhere
Diffstat (limited to 'disasm.h')
-rw-r--r-- | disasm.h | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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{}; |