summaryrefslogtreecommitdiff
path: root/test/binaryen.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/binaryen.js')
-rw-r--r--test/binaryen.js/kitchen-sink.js15
-rw-r--r--test/binaryen.js/kitchen-sink.js.txt15
2 files changed, 30 insertions, 0 deletions
diff --git a/test/binaryen.js/kitchen-sink.js b/test/binaryen.js/kitchen-sink.js
index 95c2568e6..61e1c54f5 100644
--- a/test/binaryen.js/kitchen-sink.js
+++ b/test/binaryen.js/kitchen-sink.js
@@ -171,6 +171,21 @@ function test_ids() {
console.log("ArrayGetId: " + binaryen.ArrayGetId);
console.log("ArraySetId: " + binaryen.ArraySetId);
console.log("ArrayLenId: " + binaryen.ArrayLenId);
+ console.log("ArrayCopy: " + binaryen.ArrayCopyId);
+ console.log("RefAs: " + binaryen.RefAsId);
+ console.log("StringNew: " + binaryen.StringNewId);
+ console.log("StringConst: " + binaryen.StringConstId);
+ console.log("StringMeasure: " + binaryen.StringMeasureId);
+ console.log("StringEncode: " + binaryen.StringEncodeId);
+ console.log("StringConcat: " + binaryen.StringConcatId);
+ console.log("StringEq: " + binaryen.StringEqId);
+ console.log("StringAs: " + binaryen.StringAsId);
+ console.log("StringWTF8Advance: " + binaryen.StringWTF8AdvanceId);
+ console.log("StringWTF16Get: " + binaryen.StringWTF16GetId);
+ console.log("StringIterNext: " + binaryen.StringIterNextId);
+ console.log("StringIterMove: " + binaryen.StringIterMoveId);
+ console.log("StringSliceWTF: " + binaryen.StringSliceWTFId);
+ console.log("StringSliceIter: " + binaryen.StringSliceIterId);
}
function test_core() {
diff --git a/test/binaryen.js/kitchen-sink.js.txt b/test/binaryen.js/kitchen-sink.js.txt
index 7d52a31ff..a9209da59 100644
--- a/test/binaryen.js/kitchen-sink.js.txt
+++ b/test/binaryen.js/kitchen-sink.js.txt
@@ -101,6 +101,21 @@ ArrayInitId: 64
ArrayGetId: 65
ArraySetId: 66
ArrayLenId: 67
+ArrayCopy: 68
+RefAs: 69
+StringNew: 70
+StringConst: 71
+StringMeasure: 72
+StringEncode: 73
+StringConcat: 74
+StringEq: 75
+StringAs: 76
+StringWTF8Advance: 77
+StringWTF16Get: 78
+StringIterNext: 79
+StringIterMove: 80
+StringSliceWTF: 81
+StringSliceIter: 82
getExpressionInfo={"id":15,"type":4,"op":6}
(f32.neg
(f32.const -33.61199951171875)