diff options
author | iximeow <me@iximeow.net> | 2024-06-19 11:25:51 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2024-06-19 11:25:51 -0700 |
commit | 19bebd19a6f5f952094f7e6c84c1c66ea1c87ca5 (patch) | |
tree | 6b66bdb35c3f1d51e0f2f015ad5c83e3ca95683c | |
parent | 1b65f5bc6320cfbbcf4f0b264c71270304973a84 (diff) |
visit_disp is only outlined for bad reasons
-rw-r--r-- | src/long_mode/display.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/long_mode/display.rs b/src/long_mode/display.rs index 8138ab1..686285e 100644 --- a/src/long_mode/display.rs +++ b/src/long_mode/display.rs @@ -1469,6 +1469,7 @@ impl <T: DisplaySink> crate::long_mode::OperandVisitor for ColorizingOperandVisi self.f.write_fixed_size("]")?; Ok(()) } + #[inline(always)] fn visit_disp(&mut self, reg: RegSpec, disp: i32) -> Result<Self::Ok, Self::Error> { unsafe { self.f.write_lt_8(MEM_SIZE_STRINGS.get_kinda_unchecked(self.instr.mem_size as usize))? }; if self.op_nr >= 4 { |