(store: &'store mut Store, cf: CallFrame, call_stack_base: u32)
| 32 | |
| 33 | impl<'store, const BUDGETED: bool> Executor<'store, BUDGETED> { |
| 34 | pub(crate) fn new(store: &'store mut Store, cf: CallFrame, call_stack_base: u32) -> Self { |
| 35 | let wasm_func = store.state.get_wasm_func(cf.func_addr); |
| 36 | let module = store.get_module_instance_internal(wasm_func.owner); |
| 37 | Self { module, cf, func: wasm_func.func.clone(), store, call_stack_base } |
| 38 | } |
| 39 | |
| 40 | #[inline(always)] |
| 41 | fn charge_call_fuel(&mut self, total_fuel_cost: u32) { |
nothing calls this directly
no test coverage detected