From 1b71bf3e6521e7ecbec6b1872b7120cc9be3bb72 Mon Sep 17 00:00:00 2001
From: iximeow <me@iximeow.net>
Date: Sun, 26 Jul 2020 13:00:38 -0700
Subject: more inline-friendliness when built without LTO

---
 src/long_mode/mod.rs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/long_mode/mod.rs b/src/long_mode/mod.rs
index 3b2ba5f..43cb19e 100644
--- a/src/long_mode/mod.rs
+++ b/src/long_mode/mod.rs
@@ -1530,9 +1530,11 @@ impl yaxpeax_arch::Arch for Arch {
 
 impl LengthedInstruction for Instruction {
     type Unit = AddressDiff<u64>;
+    #[inline]
     fn len(&self) -> Self::Unit {
         AddressDiff::from_const(self.length.into())
     }
+    #[inline]
     fn min_size() -> Self::Unit {
         AddressDiff::from_const(1)
     }
-- 
cgit v1.1