Home
last modified time | relevance | path

Searched refs:supertype (Results 1 – 9 of 9) sorted by relevance

/wasmtime-44.0.1/crates/fuzzing/src/generators/gc_ops/
H A Dtests.rs63 let supertype = None; in test_ops() localVariable
65 .insert_empty_struct(TypeId(i), gid, is_final, supertype); in test_ops()
366 types.type_defs.get(&sub_ty).unwrap().supertype, in fixup_preserves_subtyping_within_same_rec_group()
410 let a_super = types.type_defs.get(&a).unwrap().supertype; in fixup_breaks_one_edge_in_multi_rec_group_type_cycle()
411 let c_super = types.type_defs.get(&c).unwrap().supertype; in fixup_breaks_one_edge_in_multi_rec_group_type_cycle()
412 let d_super = types.type_defs.get(&d).unwrap().supertype; in fixup_breaks_one_edge_in_multi_rec_group_type_cycle()
524 assert_eq!(types.type_defs.get(&a0).unwrap().supertype, Some(b0)); in break_rec_group_cycles()
525 assert_eq!(types.type_defs.get(&b1).unwrap().supertype, Some(c0)); in break_rec_group_cycles()
526 assert_eq!(types.type_defs.get(&c1).unwrap().supertype, Some(a1)); in break_rec_group_cycles()
542 assert_eq!(types.type_defs.get(&c1).unwrap().supertype, None); in break_rec_group_cycles()
[all …]
H A Dtypes.rs37 pub(crate) supertype: Option<TypeId>, field
64 .and_then(|def| def.supertype) in successors()
170 supertype: Option<TypeId>, in insert_empty_struct()
180 supertype, in insert_empty_struct()
286 def.supertype = None; in break_supertype_cycles()
341 if let Some(st) = def.supertype { in break_rec_group_cycles()
405 if let Some(st) = def.supertype { in fixup()
407 def.supertype = None; in fixup()
420 if let Some(st) = def.supertype { in fixup()
422 def.supertype = None; in fixup()
[all …]
H A Dmutator.rs37 let supertype = if (ctx.rng().gen_u32() % 4) == 0 { in add_struct() localVariable
42 types.insert_empty_struct(tid, gid, is_final, supertype); in add_struct()
213 .map(|def| (*tid, def.is_final, def.supertype)) in duplicate_group()
232 for (old_tid, is_final, supertype) in &members { in duplicate_group()
234 let mapped_super = supertype.map(|st| *old_to_new.get(&st).unwrap_or(&st)); in duplicate_group()
H A Dops.rs154 supertype_idx: def.supertype.map(|st| type_ids_to_index[&st]), in to_wasm_binary()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dtypes.rs1911 supertype: Option<&Self>, in with_finality_and_supertype()
1946 if let Some(supertype) = supertype { in with_finality_and_supertype()
1982 .supertype in supertype()
2090 supertype, in from_wasm_struct_type()
2181 if let Some(supertype) = supertype { in with_finality_and_supertype()
2228 .supertype in supertype()
2331 supertype, in from_wasm_array_type()
2496 if let Some(supertype) = supertype { in with_finality_and_supertype()
2558 .supertype in supertype()
2698 supertype, in from_wasm_func_type()
[all …]
H A Dtype_registry.rs966 if let Some(supertype) = self.types[id].as_ref().unwrap().supertype { in insert_entry_supertypes()
973 let supertype = supertype.unwrap_engine_type_index(); in insert_entry_supertypes() localVariable
974 let supers_supertypes = self.supertypes(supertype); in insert_entry_supertypes()
978 .chain(iter::once(supertype)) in insert_entry_supertypes()
1020 TryCow::Borrowed(ty) if !sub_ty.is_final || sub_ty.supertype.is_some() => { in insert_entry_trampolines()
1040 supertype: None, in insert_entry_trampolines()
/wasmtime-44.0.1/crates/environ/src/
H A Dtypes.rs1358 pub supertype: Option<EngineOrModuleTypeIndex>, field
1368 supertype: self.supertype, in try_clone()
1376 if self.is_final && self.supertype.is_none() { in fmt()
1383 if let Some(sup) = self.supertype { in fmt()
1502 if let Some(sup) = self.supertype { in trace()
1512 if let Some(sup) = self.supertype.as_mut() { in trace_mut()
2451 supertype: ty.supertype_idx.map(|i| self.lookup_type_index(i.unpack())), in convert_sub_type()
/wasmtime-44.0.1/crates/environ/src/compile/
H A Dmodule_types.rs180 supertype: None, in intern_trampoline_type()
346 supertype: None, in define_exception_type_for_tag()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/
H A Dtypes.rs1145 subty.supertype, in from()