| /wasmtime-44.0.1/crates/cranelift/src/func_environ/gc/ |
| H A D | enabled.rs | 152 ty: WasmStorageType, in read_field_at_addr() argument 159 matches!(ty, WasmStorageType::I8 | WasmStorageType::I16) in read_field_at_addr() 168 WasmStorageType::Val(v) => match v { in read_field_at_addr() 279 field_ty: WasmStorageType, in write_field_at_addr() argument 287 WasmStorageType::I8 => { in write_field_at_addr() 290 WasmStorageType::I16 => { in write_field_at_addr() 300 WasmStorageType::Val(_) => { in write_field_at_addr() 323 ty: &WasmStorageType, in default_value() argument 326 WasmStorageType::I8 | WasmStorageType::I16 => cursor.ins().iconst(ir::types::I32, 0), in default_value() 664 WasmStorageType, in initialize() argument [all …]
|
| /wasmtime-44.0.1/crates/environ/src/ |
| H A D | gc.rs | 19 WasmArrayType, WasmCompositeInnerType, WasmCompositeType, WasmExnType, WasmStorageType, 56 pub fn byte_size_of_wasm_ty_in_gc_heap(ty: &WasmStorageType) -> u32 { in byte_size_of_wasm_ty_in_gc_heap() 58 WasmStorageType::I8 => 1, in byte_size_of_wasm_ty_in_gc_heap() 59 WasmStorageType::I16 => 2, in byte_size_of_wasm_ty_in_gc_heap() 60 WasmStorageType::Val(ty) => match ty { in byte_size_of_wasm_ty_in_gc_heap()
|
| H A D | types.rs | 992 pub enum WasmStorageType { enum 1001 impl fmt::Display for WasmStorageType { implementation 1004 WasmStorageType::I8 => write!(f, "i8"), in fmt() 1005 WasmStorageType::I16 => write!(f, "i16"), in fmt() 1011 impl TypeTrace for WasmStorageType { implementation 1017 WasmStorageType::I8 | WasmStorageType::I16 => Ok(()), in trace() 1018 WasmStorageType::Val(v) => v.trace(func), in trace() 1027 WasmStorageType::I8 | WasmStorageType::I16 => Ok(()), in trace_mut() 1033 impl WasmStorageType { impl 1041 WasmStorageType::I8 | WasmStorageType::I16 => false, in is_vmgcref_type_and_not_i31() [all …]
|
| /wasmtime-44.0.1/crates/cranelift/src/func_environ/gc/enabled/ |
| H A D | drc.rs | 15 WasmHeapType, WasmRefType, WasmResult, WasmStorageType, WasmValType, drc::DrcTypeLayouts, 213 ty: WasmStorageType, in init_field() argument 220 WasmStorageType::Val(WasmValType::Ref(r)) in init_field() 225 WasmStorageType::Val(WasmValType::Ref(r)) => { in init_field() 228 WasmStorageType::I8 => { in init_field() 232 WasmStorageType::I16 => { in init_field() 236 WasmStorageType::Val(_) => { in init_field() 558 WasmStorageType::Val(WasmValType::I32), in alloc_exn() 568 WasmStorageType::Val(WasmValType::I32), in alloc_exn()
|
| H A D | null.rs | 355 WasmStorageType::Val(WasmValType::I32), in alloc_exn() 365 WasmStorageType::Val(WasmValType::I32), in alloc_exn()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/ |
| H A D | const_expr.rs | 120 wasmtime_environ::WasmStorageType::I8 | wasmtime_environ::WasmStorageType::I16 => { in struct_new_default() 123 wasmtime_environ::WasmStorageType::Val(v) => match v { in struct_new_default()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/ |
| H A D | types.rs | 14 WasmRefType, WasmStorageType, WasmStructType, WasmSubType, WasmValType, 1700 pub(crate) fn from_wasm_storage_type(engine: &Engine, ty: &WasmStorageType) -> Self { in from_wasm_storage_type() 1702 WasmStorageType::I8 => Self::I8, in from_wasm_storage_type() 1703 WasmStorageType::I16 => Self::I16, in from_wasm_storage_type() 1704 WasmStorageType::Val(v) => ValType::from_wasm_type(engine, &v).into(), in from_wasm_storage_type() 1708 pub(crate) fn to_wasm_storage_type(&self) -> WasmStorageType { in to_wasm_storage_type() argument 1710 Self::I8 => WasmStorageType::I8, in to_wasm_storage_type() 1711 Self::I16 => WasmStorageType::I16, in to_wasm_storage_type() 1712 Self::ValType(v) => WasmStorageType::Val(v.to_wasm_type()), in to_wasm_storage_type() 2856 element_type: WasmStorageType::Val(ty.to_wasm_type()), in _new()
|
| /wasmtime-44.0.1/crates/environ/src/compile/ |
| H A D | module_types.rs | 5 WasmStorageType, WasmStructType, WasmSubType, 340 element_type: WasmStorageType::Val(*valtype), in define_exception_type_for_tag()
|