diff options
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{}; |