Home
last modified time | relevance | path

Searched refs:HostCall (Results 1 – 5 of 5) sorted by relevance

/wasmtime-44.0.1/crates/environ/src/
H A Dhostcall.rs13 pub enum HostCall { enum
36 impl HostCall { impl
40 HostCall::ArrayCall => 0, in index()
41 HostCall::Builtin(i) => 1 + i.index(), in index()
43 HostCall::ComponentLowerImport => 1 + BuiltinFunctionIndex::len(), in index()
72 impl From<BuiltinFunctionIndex> for HostCall { implementation
73 fn from(idx: BuiltinFunctionIndex) -> HostCall { in from() argument
74 HostCall::Builtin(idx) in from()
79 impl From<ComponentBuiltinFunctionIndex> for HostCall { implementation
80 fn from(idx: ComponentBuiltinFunctionIndex) -> HostCall { in from() argument
[all …]
H A Dkey.rs7 BuiltinFunctionIndex, DefinedFuncIndex, HostCall, ModuleInternedTypeIndex, StaticModuleIndex,
241 PulleyHostCall(HostCall),
443 let host_call = HostCall::from_index(b); in from_raw_parts()
520 pub fn unwrap_pulley_host_call(self) -> HostCall { in unwrap_pulley_host_call() argument
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dinterpreter.rs11 use wasmtime_environ::{BuiltinFunctionIndex, HostCall, Trap};
217 if u32::from(id) == HostCall::Builtin(BuiltinFunctionIndex::raise()).index() { in call()
370 if id == const { HostCall::ArrayCall.index() } { in call_indirect_host()
383 if id == const { HostCall::Builtin(BuiltinFunctionIndex::$name()).index() } { in call_indirect_host()
396 if id == const { HostCall::ComponentLowerImport.index() } { in call_indirect_host()
409 … if id == const { HostCall::ComponentBuiltin(ComponentBuiltinFunctionIndex::$name()).index() } { in call_indirect_host()
/wasmtime-44.0.1/crates/cranelift/src/
H A Dcompiler.rs39 FrameTableBuilder, FuncKey, FunctionBodyData, FunctionLoc, HostCall, InliningCompiler,
154 hostcall: impl Into<HostCall>, in call_indirect_host() argument
432 HostCall::ArrayCall, in compile_wasm_to_array_trampoline()
/wasmtime-44.0.1/crates/cranelift/src/compiler/
H A Dcomponent.rs13 Abi, BuiltinFunctionIndex, CompiledFunctionBody, EntityRef, FuncKey, HostCall, PanicOnOom as _,
1009 HostCall::ComponentLowerImport, in translate_hostcall()