diff options
author | iximeow <me@iximeow.net> | 2024-06-16 12:55:55 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2024-06-16 12:55:55 -0700 |
commit | 6f03facaedf214b7ab84f077027df2c0e2742de5 (patch) | |
tree | 5e8e61712559e51fb9734bd0add2e34fb964410f /src | |
parent | 2df5d55b4d87cec9ea618def24cee63997ba8c4c (diff) |
remove branch better handled elsewhere
Diffstat (limited to 'src')
-rw-r--r-- | src/long_mode/display.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/long_mode/display.rs b/src/long_mode/display.rs index 6d9969d..4725154 100644 --- a/src/long_mode/display.rs +++ b/src/long_mode/display.rs @@ -4792,14 +4792,6 @@ fn contextualize_intel<T: fmt::Write, Y: YaxColors>(instr: &Instruction, colors: out.write_str(instr.opcode.name())?; - if instr.opcode == Opcode::XBEGIN { - if (instr.imm as i32) >= 0 { - return write!(out, " $+{}", colors.number(signed_i32_hex(instr.imm as i32))); - } else { - return write!(out, " ${}", colors.number(signed_i32_hex(instr.imm as i32))); - } - } - if instr.operand_count > 0 { out.write_str(" ")?; |