summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/binaryen.js/kitchen-sink.js2
-rw-r--r--test/binaryen.js/kitchen-sink.js.txt2
-rw-r--r--test/example/c-api-kitchen-sink.c2
-rw-r--r--test/example/c-api-kitchen-sink.txt2
-rw-r--r--test/exception-handling.wast2
-rw-r--r--test/exception-handling.wast.from-wast4
-rw-r--r--test/exception-handling.wast.fromBinary4
-rw-r--r--test/exception-handling.wast.fromBinary.noDebugInfo4
-rw-r--r--test/spec/events.wast2
9 files changed, 12 insertions, 12 deletions
diff --git a/test/binaryen.js/kitchen-sink.js b/test/binaryen.js/kitchen-sink.js
index e745c0303..a9d0e4ef5 100644
--- a/test/binaryen.js/kitchen-sink.js
+++ b/test/binaryen.js/kitchen-sink.js
@@ -57,7 +57,7 @@ function test_types() {
console.log("BinaryenTypeFloat32: " + Binaryen.f32);
console.log("BinaryenTypeFloat64: " + Binaryen.f64);
console.log("BinaryenTypeVec128: " + Binaryen.v128);
- console.log("BinaryenTypeExceptRef: " + Binaryen.except_ref);
+ console.log("BinaryenTypeExnref: " + Binaryen.exnref);
console.log("BinaryenTypeUnreachable: " + Binaryen.unreachable);
console.log("BinaryenTypeAuto: " + Binaryen.auto);
}
diff --git a/test/binaryen.js/kitchen-sink.js.txt b/test/binaryen.js/kitchen-sink.js.txt
index 45c58c54d..0a1724532 100644
--- a/test/binaryen.js/kitchen-sink.js.txt
+++ b/test/binaryen.js/kitchen-sink.js.txt
@@ -4,7 +4,7 @@ BinaryenTypeInt64: 2
BinaryenTypeFloat32: 3
BinaryenTypeFloat64: 4
BinaryenTypeVec128: 5
-BinaryenTypeExceptRef: 6
+BinaryenTypeExnref: 6
BinaryenTypeUnreachable: 7
BinaryenTypeAuto: -1
Binaryen.Features.MVP: 0
diff --git a/test/example/c-api-kitchen-sink.c b/test/example/c-api-kitchen-sink.c
index 76a8aa675..f686a1493 100644
--- a/test/example/c-api-kitchen-sink.c
+++ b/test/example/c-api-kitchen-sink.c
@@ -155,7 +155,7 @@ void test_types() {
printf("BinaryenTypeFloat32: %d\n", BinaryenTypeFloat32());
printf("BinaryenTypeFloat64: %d\n", BinaryenTypeFloat64());
printf("BinaryenTypeVec128: %d\n", BinaryenTypeVec128());
- printf("BinaryenTypeExceptRef: %d\n", BinaryenTypeExceptRef());
+ printf("BinaryenTypeExnref: %d\n", BinaryenTypeExnref());
printf("BinaryenTypeUnreachable: %d\n", BinaryenTypeUnreachable());
printf("BinaryenTypeAuto: %d\n", BinaryenTypeAuto());
}
diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt
index ee8d9c7b3..44b1c1cd8 100644
--- a/test/example/c-api-kitchen-sink.txt
+++ b/test/example/c-api-kitchen-sink.txt
@@ -4,7 +4,7 @@ BinaryenTypeInt64: 2
BinaryenTypeFloat32: 3
BinaryenTypeFloat64: 4
BinaryenTypeVec128: 5
-BinaryenTypeExceptRef: 6
+BinaryenTypeExnref: 6
BinaryenTypeUnreachable: 7
BinaryenTypeAuto: -1
BinaryenFeatureMVP: 0
diff --git a/test/exception-handling.wast b/test/exception-handling.wast
index ec5c294fc..63d2bdc3d 100644
--- a/test/exception-handling.wast
+++ b/test/exception-handling.wast
@@ -1,6 +1,6 @@
(module
(memory 1 1)
- (func $except_ref_test (param $0 except_ref) (result except_ref)
+ (func $exnref_test (param $0 exnref) (result exnref)
(local.get $0)
)
)
diff --git a/test/exception-handling.wast.from-wast b/test/exception-handling.wast.from-wast
index 7a09f402f..cc4d5a1a0 100644
--- a/test/exception-handling.wast.from-wast
+++ b/test/exception-handling.wast.from-wast
@@ -1,7 +1,7 @@
(module
- (type $FUNCSIG$ee (func (param except_ref) (result except_ref)))
+ (type $FUNCSIG$ee (func (param exnref) (result exnref)))
(memory $0 1 1)
- (func $except_ref_test (; 0 ;) (type $FUNCSIG$ee) (param $0 except_ref) (result except_ref)
+ (func $exnref_test (; 0 ;) (type $FUNCSIG$ee) (param $0 exnref) (result exnref)
(local.get $0)
)
)
diff --git a/test/exception-handling.wast.fromBinary b/test/exception-handling.wast.fromBinary
index 9ee5ee175..1cb238708 100644
--- a/test/exception-handling.wast.fromBinary
+++ b/test/exception-handling.wast.fromBinary
@@ -1,7 +1,7 @@
(module
- (type $0 (func (param except_ref) (result except_ref)))
+ (type $0 (func (param exnref) (result exnref)))
(memory $0 1 1)
- (func $except_ref_test (; 0 ;) (type $0) (param $0 except_ref) (result except_ref)
+ (func $exnref_test (; 0 ;) (type $0) (param $0 exnref) (result exnref)
(local.get $0)
)
)
diff --git a/test/exception-handling.wast.fromBinary.noDebugInfo b/test/exception-handling.wast.fromBinary.noDebugInfo
index 0f2c6e467..11555cd10 100644
--- a/test/exception-handling.wast.fromBinary.noDebugInfo
+++ b/test/exception-handling.wast.fromBinary.noDebugInfo
@@ -1,7 +1,7 @@
(module
- (type $0 (func (param except_ref) (result except_ref)))
+ (type $0 (func (param exnref) (result exnref)))
(memory $0 1 1)
- (func $0 (; 0 ;) (type $0) (param $0 except_ref) (result except_ref)
+ (func $0 (; 0 ;) (type $0) (param $0 exnref) (result exnref)
(local.get $0)
)
)
diff --git a/test/spec/events.wast b/test/spec/events.wast
index 80a6b11fe..ee7ade192 100644
--- a/test/spec/events.wast
+++ b/test/spec/events.wast
@@ -30,7 +30,7 @@
)
(assert_invalid
- (module (event $e (attr 0) (param except_ref)))
+ (module (event $e (attr 0) (param exnref)))
"Values in an event should have integer or float type"
)