Skip to content

Commit 13e017e

Browse files
committed
apply #[cold] attribute
1 parent ae6ac8d commit 13e017e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/wasmi/src/engine/executor.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,7 @@ impl<'ctx, 'engine> Executor<'ctx, 'engine> {
650650
///
651651
/// - If the [`StoreInner`] ran out of fuel.
652652
/// - If the `exec` closure traps.
653+
#[cold]
653654
fn consume_fuel_with_mode<T, E>(
654655
&mut self,
655656
mode: FuelConsumptionMode,

0 commit comments

Comments
 (0)