diff options
Diffstat (limited to 'src/long_mode')
-rw-r--r-- | src/long_mode/display.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/long_mode/display.rs b/src/long_mode/display.rs index 355cbc7..10ceb89 100644 --- a/src/long_mode/display.rs +++ b/src/long_mode/display.rs @@ -5802,12 +5802,12 @@ impl Instruction { } pub fn write_to<T: DisplaySink>(&self, out: &mut T) -> fmt::Result { - contextualize_intel(self, 0, Some(&NoContext), out) + contextualize_intel(self, out) // self.display_with(DisplayStyle::Intel).contextualize(&NoColors, 0, Some(&NoContext), out) } } -fn contextualize_intel<T: DisplaySink>(instr: &Instruction, _address: u64, _context: Option<&NoContext>, out: &mut T) -> fmt::Result { +fn contextualize_intel<T: DisplaySink>(instr: &Instruction, out: &mut T) -> fmt::Result { if instr.xacquire() { out.write_fixed_size("xacquire ")?; } @@ -6260,7 +6260,7 @@ impl <'instr, T: fmt::Write, Y: YaxColors> ShowContextual<u64, NoContext, T, Y> }; let mut out = &mut out; - contextualize_intel(instr, address, context, out) + contextualize_intel(instr, out) } DisplayStyle::C => { contextualize_c(instr, address, context, out) |