Skip to content

Commit

Permalink
apply #[cold] attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbepop committed Mar 4, 2023
1 parent ae6ac8d commit 13e017e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/wasmi/src/engine/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,7 @@ impl<'ctx, 'engine> Executor<'ctx, 'engine> {
///
/// - If the [`StoreInner`] ran out of fuel.
/// - If the `exec` closure traps.
#[cold]
fn consume_fuel_with_mode<T, E>(
&mut self,
mode: FuelConsumptionMode,
Expand Down

0 comments on commit 13e017e

Please sign in to comment.