Skip to content

Commit 925cc22

Browse files
committed
add cold attribute again ...
1 parent d24b156 commit 925cc22

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
@@ -651,6 +651,7 @@ impl<'ctx, 'engine> Executor<'ctx, 'engine> {
651651
/// - If the [`StoreInner`] ran out of fuel.
652652
/// - If the `exec` closure traps.
653653
#[inline]
654+
#[cold]
654655
fn consume_fuel_with_mode<T, E>(
655656
&mut self,
656657
mode: FuelConsumptionMode,

0 commit comments

Comments
 (0)