Skip to content

Commit 5e6754c

Browse files
committed
fix bug after using ValueStack::grow_if_needed
1 parent 861ce83 commit 5e6754c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/wasmi/src/engine/executor/handler/dispatch.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ pub fn init_wasm_func_call<'a, T>(
170170
let compiled_func = code.get(Some(store.inner.fuel_mut()), engine_func)?;
171171
let callee_ip = Ip::from(compiled_func.ops());
172172
let frame_size = compiled_func.len_stack_slots();
173-
let callee_params = BoundedSlotSpan::new(SlotSpan::new(Slot::from(0)), frame_size);
173+
let callee_params = BoundedSlotSpan::new(SlotSpan::new(Slot::from(0)), 0);
174174
let instance = resolve_instance(store.prune(), &instance).into();
175175
let callee_sp = stack.push_frame(
176176
None,

0 commit comments

Comments
 (0)