Home
last modified time | relevance | path

Searched refs:nullable (Results 1 – 19 of 19) sorted by relevance

/wasmtime-44.0.1/tests/misc_testsuite/gc/
H A Dref-test.wast4 (func (export "nulls-to-nullable-tops") (result i32)
19 (assert_return (invoke "nulls-to-nullable-tops") (i32.const 1))
37 (func (export "nulls-to-non-nullable-tops") (result i32)
70 (func (export "null-to-nullable-i31") (result i32)
85 (assert_return (invoke "null-to-nullable-i31") (i32.const 1))
88 (func (export "truthy-non-null-to-nullable-i31") (result i32)
98 (func (export "falsey-non-null-to-nullable-i31") (result i32)
108 (func (export "null-to-non-nullable-i31") (result i32)
146 (func (export "null-to-nullable-middle-types") (result i32)
216 (func (export "null-to-nullable-concrete-types") (result i32)
[all …]
H A Danyref_that_is_i31_barriers.wast32 ;; Non-nullable GC references.
/wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/enabled/
H A Deqref.rs517 nullable: bool, in dynamic_concrete_type_check()
521 Some(s) => Rooted::<EqRef>::dynamic_concrete_type_check(s, store, nullable, ty), in dynamic_concrete_type_check()
524 nullable, in dynamic_concrete_type_check()
592 nullable: bool, in dynamic_concrete_type_check()
596 Some(s) => OwnedRooted::<EqRef>::dynamic_concrete_type_check(s, store, nullable, ty), in dynamic_concrete_type_check()
599 nullable, in dynamic_concrete_type_check()
H A Dstructref.rs706 nullable: bool, in dynamic_concrete_type_check()
710 Some(s) => Rooted::<StructRef>::dynamic_concrete_type_check(s, store, nullable, ty), in dynamic_concrete_type_check()
713 nullable, in dynamic_concrete_type_check()
807 nullable: bool, in dynamic_concrete_type_check()
812 OwnedRooted::<StructRef>::dynamic_concrete_type_check(s, store, nullable, ty) in dynamic_concrete_type_check()
816 nullable, in dynamic_concrete_type_check()
H A Darrayref.rs912 nullable: bool, in dynamic_concrete_type_check()
916 Some(s) => Rooted::<ArrayRef>::dynamic_concrete_type_check(s, store, nullable, ty), in dynamic_concrete_type_check()
919 nullable, in dynamic_concrete_type_check()
1013 nullable: bool, in dynamic_concrete_type_check()
1017 Some(s) => OwnedRooted::<ArrayRef>::dynamic_concrete_type_check(s, store, nullable, ty), in dynamic_concrete_type_check()
1020 nullable, in dynamic_concrete_type_check()
H A Danyref.rs731 nullable: bool, in dynamic_concrete_type_check()
738 nullable, in dynamic_concrete_type_check()
806 nullable: bool, in dynamic_concrete_type_check()
813 nullable, in dynamic_concrete_type_check()
H A Dexnref.rs680 nullable: bool, in dynamic_concrete_type_check()
687 nullable, in dynamic_concrete_type_check()
755 nullable: bool, in dynamic_concrete_type_check()
762 nullable, in dynamic_concrete_type_check()
/wasmtime-44.0.1/crates/fuzzing/src/generators/gc_ops/
H A Dops.rs98 nullable: true, in to_wasm_binary()
183 nullable: true, in to_wasm_binary()
220 nullable: true, in to_wasm_binary()
237 nullable: true, in to_wasm_binary()
265 nullable: true, in to_wasm_binary()
287 nullable: true, in to_wasm_binary()
315 nullable: true, in to_wasm_binary()
329 nullable: true, in to_wasm_binary()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/func/
H A Dtyped.rs326 nullable: bool, in dynamic_concrete_type_check()
499 nullable: bool, in dynamic_concrete_type_check()
502 if nullable { in dynamic_concrete_type_check()
580 nullable: bool, in dynamic_concrete_type_check()
587 } else if nullable { in dynamic_concrete_type_check()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/types/
H A Dmatching.rs288 if actual.nullable == expected.nullable || expected.nullable { in match_ref()
/wasmtime-44.0.1/crates/cranelift/src/func_environ/gc/
H A Denabled.rs185 if !r.nullable { in read_field_at_addr()
250 if !ref_type.nullable { in write_func_ref_at_addr()
337 assert!(r.nullable); in default_value()
1081 let result = if test_ty.nullable { in translate_ref_test()
1099 let result = if test_ty.nullable { in translate_ref_test()
1119 let result = if test_ty.nullable { in translate_ref_test()
1142 .iconst(ir::types::I32, test_ty.nullable as i64); in translate_ref_test()
1631 match (ty.nullable, might_be_i31) { in gc_ref_is_null_or_i31()
/wasmtime-44.0.1/crates/cranelift/src/func_environ/gc/enabled/
H A Ddrc.rs269 if ty.nullable { in translate_init_gc_reference()
609 if !ty.nullable { in translate_read_gc_reference()
744 if ty.nullable { in translate_write_gc_reference()
/wasmtime-44.0.1/crates/environ/src/
H A Dtypes.rs221 nullable: true, in trampoline_type()
258 pub nullable: bool, field
282 nullable: true,
287 nullable: true,
314 if self.nullable { in fmt()
2548 nullable: ty.is_nullable(), in convert_ref_type()
2594 nullable: true, in wasm_func_type_new()
/wasmtime-44.0.1/tests/disas/
H A Dtyped-funcrefs-eager-init.wat17 ;; elements are nullable function references, and whose default
H A Dtyped-funcrefs.wat17 ;; elements are nullable function references, and whose default
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dconst_expr.rs130 assert!(r.nullable); in struct_new_default()
/wasmtime-44.0.1/crates/cranelift/src/
H A Dfunc_environ.rs1987 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()
2936 if !ty.nullable { in translate_ref_is_null()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dtypes.rs581 nullable: self.is_nullable(), in to_wasm_type()
588 is_nullable: ty.nullable, in from_wasm_type()
/wasmtime-44.0.1/crates/cranelift/src/translate/
H A Dcode_translator.rs2940 nullable: false, in translate_operator()
2957 nullable: true, in translate_operator()
2974 nullable: false, in translate_operator()
2992 nullable: true, in translate_operator()