diff options
author | Alon Zakai <azakai@google.com> | 2021-06-09 14:46:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-09 14:46:21 -0700 |
commit | d8877922143219eada93568074f2a262de62d04f (patch) | |
tree | 5b5c46c4c41325643be07395bc5194df4793d928 /test/heap-types.wast.fromBinary.noDebugInfo | |
parent | cdc1bb3406f40bdab918749d020e0ef03942434d (diff) | |
download | binaryen-d8877922143219eada93568074f2a262de62d04f.tar.gz binaryen-d8877922143219eada93568074f2a262de62d04f.tar.bz2 binaryen-d8877922143219eada93568074f2a262de62d04f.zip |
[Wasm GC] Support struct.new in global initializers (#3930)
Diffstat (limited to 'test/heap-types.wast.fromBinary.noDebugInfo')
-rw-r--r-- | test/heap-types.wast.fromBinary.noDebugInfo | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/heap-types.wast.fromBinary.noDebugInfo b/test/heap-types.wast.fromBinary.noDebugInfo index bb6ff9165..30bfd1064 100644 --- a/test/heap-types.wast.fromBinary.noDebugInfo +++ b/test/heap-types.wast.fromBinary.noDebugInfo @@ -25,6 +25,9 @@ (global $global$2 (rtt 2 ${i32_i64}) (rtt.sub ${i32_i64} (global.get $global$1) )) + (global $global$3 (ref ${i32_f32_f64}) (struct.new_default_with_rtt ${i32_f32_f64} + (rtt.canon ${i32_f32_f64}) + )) (func $0 (param $0 (ref ${i32_f32_f64})) (result (ref ${i8_mut:i16_ref|{i32_f32_f64}|_mut:ref|{i32_f32_f64}|})) (local $1 (ref null ${i32_f32_f64})) (local $2 (ref null ${i8_mut:i16_ref|{i32_f32_f64}|_mut:ref|{i32_f32_f64}|})) |