Skip to content

Commit 482abc1

Browse files
committed
replace some inline(always) with inline
1 parent 66bb570 commit 482abc1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

crates/wasmi/src/engine/executor.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ impl<'ctx, 'engine> Executor<'ctx, 'engine> {
458458
/// - `{i32, i64}.load16_u`
459459
/// - `i64.load32_s`
460460
/// - `i64.load32_u`
461-
#[inline(always)]
461+
#[inline]
462462
fn execute_load_extend(
463463
&mut self,
464464
offset: Offset,
@@ -482,7 +482,7 @@ impl<'ctx, 'engine> Executor<'ctx, 'engine> {
482482
/// - `{i32, i64}.store8`
483483
/// - `{i32, i64}.store16`
484484
/// - `i64.store32`
485-
#[inline(always)]
485+
#[inline]
486486
fn execute_store_wrap(
487487
&mut self,
488488
offset: Offset,
@@ -495,14 +495,14 @@ impl<'ctx, 'engine> Executor<'ctx, 'engine> {
495495
}
496496

497497
/// Executes an infallible unary `wasmi` instruction.
498-
#[inline(always)]
498+
#[inline]
499499
fn execute_unary(&mut self, f: fn(UntypedValue) -> UntypedValue) {
500500
self.sp.eval_top(f);
501501
self.next_instr()
502502
}
503503

504504
/// Executes a fallible unary `wasmi` instruction.
505-
#[inline(always)]
505+
#[inline]
506506
fn try_execute_unary(
507507
&mut self,
508508
f: fn(UntypedValue) -> Result<UntypedValue, TrapCode>,
@@ -512,14 +512,14 @@ impl<'ctx, 'engine> Executor<'ctx, 'engine> {
512512
}
513513

514514
/// Executes an infallible binary `wasmi` instruction.
515-
#[inline(always)]
515+
#[inline]
516516
fn execute_binary(&mut self, f: fn(UntypedValue, UntypedValue) -> UntypedValue) {
517517
self.sp.eval_top2(f);
518518
self.next_instr()
519519
}
520520

521521
/// Executes a fallible binary `wasmi` instruction.
522-
#[inline(always)]
522+
#[inline]
523523
fn try_execute_binary(
524524
&mut self,
525525
f: fn(UntypedValue, UntypedValue) -> Result<UntypedValue, TrapCode>,

0 commit comments

Comments
 (0)