Searched refs:struct_layout (Results 1 – 7 of 7) sorted by relevance
41 fn struct_layout(&self, ty: &WasmStructType) -> GcStructLayout { in struct_layout() method
50 fn struct_layout(&self, ty: &WasmStructType) -> GcStructLayout { in struct_layout() method
257 let struct_layout = func_env.struct_or_exn_layout(interned_type_index); in alloc_struct() localVariable260 let struct_size = struct_layout.size; in alloc_struct()261 let struct_align = struct_layout.align; in alloc_struct()
458 let struct_layout = func_env.struct_or_exn_layout(interned_type_index); in alloc_struct() localVariable461 let struct_size = struct_layout.size; in alloc_struct()462 let struct_align = struct_layout.align; in alloc_struct()463 let field_offsets: SmallVec<[_; 8]> = struct_layout.fields.iter().copied().collect(); in alloc_struct()
386 let struct_layout = func_env.struct_or_exn_layout(interned_type_index); in translate_struct_get() localVariable387 let struct_size = struct_layout.size; in translate_struct_get()389 let field_offset = struct_layout.fields[field_index].offset; in translate_struct_get()435 let struct_layout = func_env.struct_or_exn_layout(interned_type_index); in translate_struct_set() localVariable436 let struct_size = struct_layout.size; in translate_struct_set()438 let field_offset = struct_layout.fields[field_index].offset; in translate_struct_set()1390 let struct_layout = func_env.struct_or_exn_layout(struct_ty); in initialize_struct_fields() localVariable1391 let struct_size = struct_layout.size; in initialize_struct_fields()1392 let field_offsets: SmallVec<[_; 8]> = struct_layout.fields.iter().map(|f| f.offset).collect(); in initialize_struct_fields()
248 WasmCompositeInnerType::Struct(ty) => Some(Arc::new(self.struct_layout(ty)).into()), in gc_layout()261 fn struct_layout(&self, ty: &WasmStructType) -> GcStructLayout; in struct_layout() method
1122 try_new::<Arc<_>>(gc_runtime.layouts().struct_layout(s))?.into() in insert_entry_gc_layouts()