diff options
author | dcode <dcode@dcode.io> | 2022-07-27 21:16:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-27 12:16:09 -0700 |
commit | 0cd9fb599fc5a44df7774d5f180d912ccab8c941 (patch) | |
tree | c4314a6709f3e2710961774610fe046b50de7aef /test/binaryen.js | |
parent | 85b05ebd648e7cc282777a2f445fe9c5b111eeb9 (diff) | |
download | binaryen-0cd9fb599fc5a44df7774d5f180d912ccab8c941.tar.gz binaryen-0cd9fb599fc5a44df7774d5f180d912ccab8c941.tar.bz2 binaryen-0cd9fb599fc5a44df7774d5f180d912ccab8c941.zip |
[C/JS API] Add string reference types (#4810)
Diffstat (limited to 'test/binaryen.js')
-rw-r--r-- | test/binaryen.js/kitchen-sink.js | 4 | ||||
-rw-r--r-- | test/binaryen.js/kitchen-sink.js.txt | 24 |
2 files changed, 28 insertions, 0 deletions
diff --git a/test/binaryen.js/kitchen-sink.js b/test/binaryen.js/kitchen-sink.js index c76884732..c613ae1a5 100644 --- a/test/binaryen.js/kitchen-sink.js +++ b/test/binaryen.js/kitchen-sink.js @@ -633,6 +633,10 @@ function test_core() { module.eqref.pop(), module.i31ref.pop(), module.dataref.pop(), + module.stringref.pop(), + module.stringview_wtf8.pop(), + module.stringview_wtf16.pop(), + module.stringview_iter.pop(), // Memory module.memory.size(), diff --git a/test/binaryen.js/kitchen-sink.js.txt b/test/binaryen.js/kitchen-sink.js.txt index 46eeae51b..a026d4be1 100644 --- a/test/binaryen.js/kitchen-sink.js.txt +++ b/test/binaryen.js/kitchen-sink.js.txt @@ -2169,6 +2169,18 @@ getExpressionInfo(tuple[3])={"id":14,"type":5,"value":3.7} (pop dataref) ) (drop + (pop stringref) + ) + (drop + (pop stringview_wtf8) + ) + (drop + (pop stringview_wtf16) + ) + (drop + (pop stringview_iter) + ) + (drop (memory.size) ) (drop @@ -4261,6 +4273,18 @@ getExpressionInfo(tuple[3])={"id":14,"type":5,"value":3.7} (pop dataref) ) (drop + (pop stringref) + ) + (drop + (pop stringview_wtf8) + ) + (drop + (pop stringview_wtf16) + ) + (drop + (pop stringview_iter) + ) + (drop (memory.size) ) (drop |