Home
last modified time | relevance | path

Searched refs:ModuleWithCode (Results 1 – 3 of 3) sorted by relevance

/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dcode.rs408 pub struct ModuleWithCode<'a> { struct
413 impl<'a> ModuleWithCode<'a> { argument
419 ) -> Option<ModuleWithCode<'a>> { in in_store()
421 Some(ModuleWithCode { module, store_code }) in in_store()
424 pub(crate) fn from_raw(module: &'a Module, store_code: &'a StoreCode) -> ModuleWithCode<'a> { in from_raw()
425 ModuleWithCode { module, store_code } in from_raw()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/module/
H A Dregistry.rs3 use crate::code::{EngineCode, EngineCodePC, ModuleWithCode, StoreCode, StoreCodePC};
135 pub fn module_and_code_by_pc<'a>(&'a self, pc: usize) -> Option<(ModuleWithCode<'a>, usize)> { in module_and_code_by_pc()
143 Some((ModuleWithCode::from_raw(module, &code.code), offset)) in module_and_code_by_pc()
282 ) -> Option<(FrameInfo, ModuleWithCode<'a>)> { in lookup_frame_info()
294 let module_with_code = ModuleWithCode::from_raw(module, &code.code); in lookup_frame_info()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dinstance.rs6 use crate::code::ModuleWithCode;
800 let module_with_code = ModuleWithCode::in_store( in construct_func_ref()