aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2024-06-19 11:25:51 -0700
committeriximeow <me@iximeow.net>2024-06-19 11:25:51 -0700
commit19bebd19a6f5f952094f7e6c84c1c66ea1c87ca5 (patch)
tree6b66bdb35c3f1d51e0f2f015ad5c83e3ca95683c /src
parent1b65f5bc6320cfbbcf4f0b264c71270304973a84 (diff)
visit_disp is only outlined for bad reasons
Diffstat (limited to 'src')
-rw-r--r--src/long_mode/display.rs1
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 {