summaryrefslogtreecommitdiff
path: root/test/heap-types.wast.fromBinary.noDebugInfo
diff options
context:
space:
mode:
Diffstat (limited to 'test/heap-types.wast.fromBinary.noDebugInfo')
-rw-r--r--test/heap-types.wast.fromBinary.noDebugInfo15
1 files changed, 13 insertions, 2 deletions
diff --git a/test/heap-types.wast.fromBinary.noDebugInfo b/test/heap-types.wast.fromBinary.noDebugInfo
index a4b16afd8..2651ba0d4 100644
--- a/test/heap-types.wast.fromBinary.noDebugInfo
+++ b/test/heap-types.wast.fromBinary.noDebugInfo
@@ -1,20 +1,22 @@
(module
(type ${i32_f32_f64} (struct (field i32) (field f32) (field f64)))
(type ${i8_mut:i16_ref?|{i32_f32_f64}|_mut:ref?|{i32_f32_f64}|} (struct (field i8) (field (mut i16)) (field (ref null ${i32_f32_f64})) (field (mut (ref null ${i32_f32_f64})))))
+ (type ${i32_i64} (struct (field i32) (field i64)))
(type $[ref?|[mut:f64]|] (array (ref null $[mut:f64])))
(type $[mut:f64] (array (mut f64)))
(type $anyref_=>_none (func (param anyref)))
(type ${} (struct ))
- (type ${i32_i64} (struct (field i32) (field i64)))
+ (type ${i32} (struct (field i32)))
(type ${mut:f32} (struct (field (mut f32))))
(type $none_=>_none (func))
+ (type ${mut:ref?|{i32}|} (struct (field (mut (ref null ${i32})))))
(type $rtt_1_{}_=>_none (func (param (rtt 1 ${}))))
(type $rtt_{}_=>_none (func (param (rtt ${}))))
(type $ref?|{i32_f32_f64}|_=>_ref?|{i8_mut:i16_ref?|{i32_f32_f64}|_mut:ref?|{i32_f32_f64}|}| (func (param (ref null ${i32_f32_f64})) (result (ref null ${i8_mut:i16_ref?|{i32_f32_f64}|_mut:ref?|{i32_f32_f64}|}))))
(type $ref?|[mut:f64]|_=>_ref?|[ref?|[mut:f64]|]| (func (param (ref null $[mut:f64])) (result (ref null $[ref?|[mut:f64]|]))))
- (type ${i32} (struct (field i32)))
(type $[mut:i32] (array (mut i32)))
(type $[mut:i8] (array (mut i8)))
+ (type $[mut:ref?|{i32}|] (array (mut (ref null ${i32}))))
(global $global$0 (rtt 0 ${}) (rtt.canon ${}))
(global $global$1 (rtt 1 ${i32}) (rtt.sub ${i32}
(global.get $global$0)
@@ -102,6 +104,10 @@
(ref.null ${mut:f32})
(f32.const 100)
)
+ (struct.set ${mut:ref?|{i32}|} 0
+ (ref.null ${mut:ref?|{i32}|})
+ (ref.null ${i32_i64})
+ )
(drop
(struct.new_default_with_rtt ${i32_f32_f64}
(rtt.canon ${i32_f32_f64})
@@ -146,6 +152,11 @@
(i32.const 2)
(f64.const 2.18281828)
)
+ (array.set $[mut:ref?|{i32}|]
+ (ref.null $[mut:ref?|{i32}|])
+ (i32.const 3)
+ (ref.null ${i32_i64})
+ )
(drop
(array.len $[mut:f64]
(local.get $0)