Home
last modified time | relevance | path

Searched refs:ref_type (Results 1 – 11 of 11) sorted by relevance

/wasmtime-44.0.1/crates/wasmtime/src/runtime/trampoline/
H A Dtable.rs19 wasmtime_table.ref_type.is_canonicalized_for_runtime_usage(), in create_table()
21 wasmtime_table.ref_type in create_table()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/types/
H A Dmatching.rs128 WasmValType::Ref(expected.ref_type), in table_ty()
129 WasmValType::Ref(actual.ref_type), in table_ty()
/wasmtime-44.0.1/crates/cranelift/src/debug/transform/
H A Dunit.rs166 add_tag!(parent_id, gimli::DW_TAG_reference_type => ref_type as ref_type_id {}); in replace_pointer_type()
168 ref_type.set( in replace_pointer_type()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dtypes.rs3082 let ref_type = element.to_wasm_type(); in new() localVariable
3085 ref_type.is_canonicalized_for_runtime_usage(), in new()
3099 ref_type, in new()
3109 let ref_type = element.to_wasm_type(); in new64() localVariable
3112 ref_type.is_canonicalized_for_runtime_usage(), in new64()
3119 ref_type, in new64()
3153 let element = RefType::from_wasm_type(engine, &table.ref_type); in from_wasmtime_table()
/wasmtime-44.0.1/crates/cranelift/src/
H A Dfunc_environ.rs1626 let element_size = if table.ref_type.is_vmgcref_type() { in make_table()
1971 match table.ref_type.heap_type { in check_indirect_call_type_signature()
1987 may_be_null: table.ref_type.nullable, in check_indirect_call_type_signature()
2005 if table.ref_type.nullable { in check_indirect_call_type_signature()
2031 assert!(table.ref_type.nullable); in check_indirect_call_type_signature()
2411 let ty = table.ref_type.heap_type; in translate_table_grow()
2449 let heap_ty = table.ref_type.heap_type; in translate_table_get()
2457 table.ref_type, in translate_table_get()
2490 let heap_ty = table.ref_type.heap_type; in translate_table_set()
2498 table.ref_type, in translate_table_set()
[all …]
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/allocator/pooling/
H A Dtable_pool.rs153 let data_size = self.data_size(crate::vm::table::wasm_to_table_type(ty.ref_type)); in allocate()
/wasmtime-44.0.1/crates/environ/src/
H A Dtypes.rs248 WasmValType::Ref(ref_type) => *ref_type, in unwrap_ref_type()
2114 pub ref_type: WasmRefType, field
2123 ref_type: wasm_ty, in trace()
2135 ref_type: wasm_ty, in trace_mut()
2444 ref_type: self.convert_ref_type(ty.element_type)?, in convert_table_type()
/wasmtime-44.0.1/crates/cranelift/src/func_environ/gc/
H A Denabled.rs235 ref_type: WasmRefType, in write_func_ref_at_addr()
240 assert_eq!(ref_type.heap_type.top(), WasmHeapTopType::Func); in write_func_ref_at_addr()
248 let func_ref = if ref_type.heap_type == WasmHeapType::NoFunc { in write_func_ref_at_addr()
250 if !ref_type.nullable { in write_func_ref_at_addr()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dtable.rs337 match wasm_to_table_type(ty.ref_type) { in new_dynamic()
366 match wasm_to_table_type(ty.ref_type) { in new_static()
/wasmtime-44.0.1/crates/environ/src/compile/
H A Dmodule_environ.rs409 self.result.module.needs_gc_heap |= table.ref_type.is_vmgcref_type(); in translate_payload()
1292 .ref_type in try_func_table_init()
/wasmtime-44.0.1/winch/codegen/src/
H A Dvisitor.rs1698 let heap_type = table.ref_type.heap_type; in visit_table_get()
1711 (table_ty.ref_type.heap_type, table_ty.idx_type) in visit_table_grow()
1761 table_ty.ref_type.heap_type == WasmHeapType::Func, in visit_table_fill()
1780 match table.ref_type.heap_type { in visit_table_set()