summaryrefslogtreecommitdiff
path: root/test/heap-types.wast.fromBinary
diff options
context:
space:
mode:
Diffstat (limited to 'test/heap-types.wast.fromBinary')
-rw-r--r--test/heap-types.wast.fromBinary8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/heap-types.wast.fromBinary b/test/heap-types.wast.fromBinary
index 803908b19..e8d96de24 100644
--- a/test/heap-types.wast.fromBinary
+++ b/test/heap-types.wast.fromBinary
@@ -219,8 +219,8 @@
(local $y anyref)
(local $z anyref)
(local $temp-func funcref)
- (local $temp-data (ref null data))
- (local $temp-i31 (ref null i31))
+ (local $temp-data dataref)
+ (local $temp-i31 i31ref)
(block $label$1
(local.set $z
(br_on_null $label$1
@@ -239,7 +239,7 @@
)
)
(drop
- (block $label$3 (result (ref null data))
+ (block $label$3 (result dataref)
(local.set $y
(br_on_data $label$3
(local.get $x)
@@ -249,7 +249,7 @@
)
)
(drop
- (block $label$4 (result (ref null i31))
+ (block $label$4 (result i31ref)
(local.set $y
(br_on_i31 $label$4
(local.get $x)