Skip to content

Commit

Permalink
Merge branch 'master' into feat-module-import-export
Browse files Browse the repository at this point in the history
  • Loading branch information
yjhmelody committed Nov 24, 2022
2 parents 8b93177 + d9f5724 commit 3f39656
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/wasmi/src/engine/stack/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ impl Stack {
}

/// Prepares the [`Stack`] for the given Wasm function call.
pub(crate) fn call_wasm<'engine>(
pub(crate) fn call_wasm(
&mut self,
caller: &FuncFrame,
wasm_func: &WasmFuncEntity,
code_map: &'engine CodeMap,
code_map: &CodeMap,
) -> Result<FuncFrame, TrapCode> {
let ip = self.call_wasm_impl(wasm_func, code_map)?;
self.frames.push(*caller)?;
Expand All @@ -149,10 +149,10 @@ impl Stack {
}

/// Prepares the [`Stack`] for execution of the given Wasm [`FuncFrame`].
pub(crate) fn call_wasm_impl<'engine>(
pub(crate) fn call_wasm_impl(
&mut self,
wasm_func: &WasmFuncEntity,
code_map: &'engine CodeMap,
code_map: &CodeMap,
) -> Result<InstructionPtr, TrapCode> {
let header = code_map.header(wasm_func.func_body());
let max_stack_height = header.max_stack_height();
Expand Down

0 comments on commit 3f39656

Please sign in to comment.