summaryrefslogtreecommitdiff
path: root/test/example/c-api-kitchen-sink.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/example/c-api-kitchen-sink.txt')
-rw-r--r--test/example/c-api-kitchen-sink.txt17
1 files changed, 4 insertions, 13 deletions
diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt
index 90634550b..350c5555f 100644
--- a/test/example/c-api-kitchen-sink.txt
+++ b/test/example/c-api-kitchen-sink.txt
@@ -7,10 +7,9 @@
// BinaryenTypeVec128: 6
// BinaryenTypeFuncref: 7
// BinaryenTypeExternref: 8
- // BinaryenTypeExnref: 9
- // BinaryenTypeAnyref: 10
- // BinaryenTypeEqref: 11
- // BinaryenTypeI31ref: 13
+ // BinaryenTypeAnyref: 9
+ // BinaryenTypeEqref: 10
+ // BinaryenTypeI31ref: 12
// BinaryenTypeAuto: -1
BinaryenFeatureMVP: 0
BinaryenFeatureAtomics: 1
@@ -48,7 +47,7 @@ BinaryenFeatureAll: 8191
(start $starter)
(func "$kitchen()sinker" (param $0 i32) (param $1 i64) (param $2 f32) (param $3 f64) (result i32)
(local $4 i32)
- (local $5 exnref)
+ (local $5 externref)
(block $the-body (result i32)
(block $the-nothing
(drop
@@ -1748,11 +1747,6 @@ BinaryenFeatureAll: 8191
)
)
(drop
- (ref.is_null
- (ref.null exn)
- )
- )
- (drop
(select (result funcref)
(ref.null func)
(ref.func "$kitchen()sinker")
@@ -1837,9 +1831,6 @@ BinaryenFeatureAll: 8191
(pop externref)
)
(drop
- (pop exnref)
- )
- (drop
(pop i32 i64 f32 f64)
)
(drop