Searched refs:object_size (Results 1 – 5 of 5) sorted by relevance
| /wasmtime-44.0.1/crates/cranelift/src/ |
| H A D | bounds_checks.rs | 60 object_size: u32, 70 object_size: ir::Value, 98 object_size, in bounds_check_and_compute_addr() 102 assert!(offset_and_access_size <= object_size); in bounds_check_and_compute_addr() 107 if let Ok(object_size) = u8::try_from(object_size) { in bounds_check_and_compute_addr() 114 object_size, in bounds_check_and_compute_addr() 135 object_size, in bounds_check_and_compute_addr() 140 assert_eq!(builder.func.dfg.value_type(object_size), ir::types::I32); in bounds_check_and_compute_addr() 142 let index_and_object_size = builder.ins().uadd_overflow_trap(index, object_size, trap); in bounds_check_and_compute_addr() 156 let backwards_offset = builder.ins().isub(object_size, offset); in bounds_check_and_compute_addr()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/enabled/ |
| H A D | drc.rs | 179 let size = self.index(drc_ref).object_size(); in dealloc() 646 object_size: u32, field 660 fn object_size(&self) -> usize { in object_size() method 661 usize::try_from(self.object_size).unwrap() in object_size() 917 fn object_size(&self, gc_ref: &VMGcRef) -> usize { in object_size() method 918 self.index(drc_ref(gc_ref)).object_size() in object_size() 936 let object_size = u32::try_from(layout.size()).unwrap(); in alloc_raw() localVariable 960 object_size, in alloc_raw() 1193 object_size: 0, in ref_count_is_at_correct_offset()
|
| H A D | null.rs | 272 fn object_size(&self, gc_ref: &VMGcRef) -> usize { in object_size() method
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/ |
| H A D | gc_runtime.rs | 237 fn object_size(&self, gc_ref: &VMGcRef) -> usize; in object_size() method 479 let size = self.object_size(gc_ref); in object_range()
|
| /wasmtime-44.0.1/crates/cranelift/src/func_environ/gc/ |
| H A D | enabled.rs | 119 object_size: wasmtime_environ::VM_GC_HEADER_SIZE, in emit_gc_kind_assert() 400 object_size: struct_size, in translate_struct_get() 449 object_size: struct_size, in translate_struct_set() 504 object_size: exn_size, 836 object_size: obj_size, in translate_array_fill() 1018 object_size: obj_size, in array_elem_addr() 1200 object_size: wasmtime_environ::VM_GC_HEADER_SIZE, in translate_ref_test()
|