diff options
author | iximeow <me@iximeow.net> | 2024-06-23 13:08:11 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2024-06-23 13:08:11 -0700 |
commit | 949aa2eef7259ae6eac1ec78ae5936d2ee05e8bc (patch) | |
tree | a551b67cc9101563f9c42f9badcb2080ae2dbbb6 | |
parent | 22528447297ef81b65e91fae68fbcd6010065505 (diff) |
fix inlining attributes re. profiling flag in protected_mode
-rw-r--r-- | src/protected_mode/mod.rs | 6 |
1 files 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<<Arch as yaxpeax_arch::Arch>::Address, <Arch as yaxpeax_arch::Arch>::Word>, S: DescriptionSink<FieldDescription>, @@ -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<<Arch as yaxpeax_arch::Arch>::Address, <Arch as yaxpeax_arch::Arch>::Word>, S: DescriptionSink<FieldDescription>, @@ -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<<Arch as yaxpeax_arch::Arch>::Address, <Arch as yaxpeax_arch::Arch>::Word>, S: DescriptionSink<FieldDescription> |