From 949aa2eef7259ae6eac1ec78ae5936d2ee05e8bc Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 23 Jun 2024 13:08:11 -0700 Subject: fix inlining attributes re. profiling flag in protected_mode --- src/protected_mode/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/protected_mode/mod.rs b/src/protected_mode/mod.rs index 74522d9..f2b10f5 100644 --- a/src/protected_mode/mod.rs +++ b/src/protected_mode/mod.rs @@ -5965,7 +5965,7 @@ const OPCODES: [OpcodeRecord; 256] = [ #[allow(non_snake_case)] #[cfg_attr(feature="profiling", inline(never))] -#[cfg_attr(not(feature="profiling"), inline(never))] +#[cfg_attr(not(feature="profiling"), inline(always))] pub(self) fn read_E< T: Reader<::Address, ::Word>, S: DescriptionSink, @@ -6755,7 +6755,7 @@ fn read_opc_hotpath< } #[cfg_attr(feature="profiling", inline(never))] -#[cfg_attr(not(feature="profiling"), inline(never))] +#[cfg_attr(not(feature="profiling"), inline(always))] fn read_with_annotations< T: Reader<::Address, ::Word>, S: DescriptionSink, @@ -6917,7 +6917,7 @@ fn read_with_annotations< } #[cfg_attr(feature="profiling", inline(never))] -#[cfg_attr(not(feature="profiling"), inline(never))] +#[cfg_attr(not(feature="profiling"), inline(always))] fn read_operands< T: Reader<::Address, ::Word>, S: DescriptionSink -- cgit v1.1