aboutsummaryrefslogtreecommitdiff
path: root/src/protected_mode/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/protected_mode/mod.rs')
-rw-r--r--src/protected_mode/mod.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/protected_mode/mod.rs b/src/protected_mode/mod.rs
index 0d125eb..cf72fda 100644
--- a/src/protected_mode/mod.rs
+++ b/src/protected_mode/mod.rs
@@ -5706,7 +5706,8 @@ const OPCODES: [OpcodeRecord; 256] = [
];
#[allow(non_snake_case)]
-#[inline(always)]
+#[cfg_attr(feature="profiling", inline(never))]
+#[cfg_attr(not(feature="profiling"), inline(never))]
pub(self) fn read_E<
T: Reader<<Arch as yaxpeax_arch::Arch>::Address, <Arch as yaxpeax_arch::Arch>::Word>,
S: DescriptionSink<FieldDescription>,
@@ -6444,6 +6445,7 @@ impl DecodeCtx {
}
}
+#[cfg_attr(feature="profiling", inline(never))]
fn read_opc_hotpath<
T: Reader<<Arch as yaxpeax_arch::Arch>::Address, <Arch as yaxpeax_arch::Arch>::Word>,
S: DescriptionSink<FieldDescription>,
@@ -6494,6 +6496,8 @@ fn read_opc_hotpath<
}
}
+#[cfg_attr(feature="profiling", inline(never))]
+#[cfg_attr(not(feature="profiling"), inline(never))]
fn read_with_annotations<
T: Reader<<Arch as yaxpeax_arch::Arch>::Address, <Arch as yaxpeax_arch::Arch>::Word>,
S: DescriptionSink<FieldDescription>,
@@ -6654,6 +6658,8 @@ fn read_with_annotations<
Ok(())
}
+#[cfg_attr(feature="profiling", inline(never))]
+#[cfg_attr(not(feature="profiling"), inline(never))]
fn read_operands<
T: Reader<<Arch as yaxpeax_arch::Arch>::Address, <Arch as yaxpeax_arch::Arch>::Word>,
S: DescriptionSink<FieldDescription>