| /wasmtime-44.0.1/tests/misc_testsuite/gc/ |
| H A D | ref-test.wast | 4 (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 D | anyref_that_is_i31_barriers.wast | 32 ;; Non-nullable GC references.
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/enabled/ |
| H A D | eqref.rs | 517 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 D | structref.rs | 706 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 D | arrayref.rs | 912 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 D | anyref.rs | 731 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 D | exnref.rs | 680 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 D | ops.rs | 98 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 D | typed.rs | 326 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 D | matching.rs | 288 if actual.nullable == expected.nullable || expected.nullable { in match_ref()
|
| /wasmtime-44.0.1/crates/cranelift/src/func_environ/gc/ |
| H A D | enabled.rs | 185 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 D | drc.rs | 269 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 D | types.rs | 221 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 D | typed-funcrefs-eager-init.wat | 17 ;; elements are nullable function references, and whose default
|
| H A D | typed-funcrefs.wat | 17 ;; elements are nullable function references, and whose default
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/ |
| H A D | const_expr.rs | 130 assert!(r.nullable); in struct_new_default()
|
| /wasmtime-44.0.1/crates/cranelift/src/ |
| H A D | func_environ.rs | 1987 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 D | types.rs | 581 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 D | code_translator.rs | 2940 nullable: false, in translate_operator() 2957 nullable: true, in translate_operator() 2974 nullable: false, in translate_operator() 2992 nullable: true, in translate_operator()
|