diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/binaryen.js/kitchen-sink.js | 2 | ||||
-rw-r--r-- | test/binaryen.js/kitchen-sink.js.txt | 2 | ||||
-rw-r--r-- | test/example/c-api-kitchen-sink.c | 2 | ||||
-rw-r--r-- | test/example/c-api-kitchen-sink.txt | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/test/binaryen.js/kitchen-sink.js b/test/binaryen.js/kitchen-sink.js index 89e7fdfc6..714305d9b 100644 --- a/test/binaryen.js/kitchen-sink.js +++ b/test/binaryen.js/kitchen-sink.js @@ -72,6 +72,8 @@ function test_features() { console.log("Binaryen.Features.SignExt: " + Binaryen.Features.SignExt); console.log("Binaryen.Features.SIMD128: " + Binaryen.Features.SIMD128); console.log("Binaryen.Features.ExceptionHandling: " + Binaryen.Features.ExceptionHandling); + console.log("Binaryen.Features.TailCall: " + Binaryen.Features.TailCall); + console.log("Binaryen.Features.ReferenceTypes: " + Binaryen.Features.ReferenceTypes); console.log("Binaryen.Features.All: " + Binaryen.Features.All); } diff --git a/test/binaryen.js/kitchen-sink.js.txt b/test/binaryen.js/kitchen-sink.js.txt index d4ca83b1c..955ddf0f3 100644 --- a/test/binaryen.js/kitchen-sink.js.txt +++ b/test/binaryen.js/kitchen-sink.js.txt @@ -16,6 +16,8 @@ Binaryen.Features.NontrappingFPToInt: 4 Binaryen.Features.SignExt: 32 Binaryen.Features.SIMD128: 8 Binaryen.Features.ExceptionHandling: 64 +Binaryen.Features.TailCall: 128 +Binaryen.Features.ReferenceTypes: 256 Binaryen.Features.All: 511 BinaryenInvalidId: 0 BinaryenBlockId: 1 diff --git a/test/example/c-api-kitchen-sink.c b/test/example/c-api-kitchen-sink.c index 77349529b..95bc398b5 100644 --- a/test/example/c-api-kitchen-sink.c +++ b/test/example/c-api-kitchen-sink.c @@ -170,6 +170,8 @@ void test_features() { printf("BinaryenFeatureSignExt: %d\n", BinaryenFeatureSignExt()); printf("BinaryenFeatureSIMD128: %d\n", BinaryenFeatureSIMD128()); printf("BinaryenFeatureExceptionHandling: %d\n", BinaryenFeatureExceptionHandling()); + printf("BinaryenFeatureTailCall: %d\n", BinaryenFeatureTailCall()); + printf("BinaryenFeatureReferenceTypes: %d\n", BinaryenFeatureReferenceTypes()); printf("BinaryenFeatureAll: %d\n", BinaryenFeatureAll()); } diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt index a5c300653..7f9266207 100644 --- a/test/example/c-api-kitchen-sink.txt +++ b/test/example/c-api-kitchen-sink.txt @@ -16,6 +16,8 @@ BinaryenFeatureNontrappingFPToInt: 4 BinaryenFeatureSignExt: 32 BinaryenFeatureSIMD128: 8 BinaryenFeatureExceptionHandling: 64 +BinaryenFeatureTailCall: 128 +BinaryenFeatureReferenceTypes: 256 BinaryenFeatureAll: 511 (f32.neg (f32.const -33.61199951171875) |