diff options
author | Thomas Lively <tlively@google.com> | 2023-01-10 15:05:56 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-10 13:05:56 -0800 |
commit | 31171ca083c7a4d1394ad7812369d385e1dd38a0 (patch) | |
tree | 51d6691faf64fdd266ca31acb5b66295a53d9cc5 /test/binaryen.js | |
parent | 36e2abbcdd22b2b1707757b49fb4ac8844f28e5d (diff) | |
download | binaryen-31171ca083c7a4d1394ad7812369d385e1dd38a0.tar.gz binaryen-31171ca083c7a4d1394ad7812369d385e1dd38a0.tar.bz2 binaryen-31171ca083c7a4d1394ad7812369d385e1dd38a0.zip |
[Wasm GC] Replace `HeapType::data` with `HeapType::struct_` (#5416)
`struct` has replaced `data` in the upstream spec, so update Binaryen's types to
match. We had already supported `struct` as an alias for data, but now remove
support for `data` entirely. Also remove instructions like `ref.is_data` that
are deprecated and do not make sense without a `data` type.
Diffstat (limited to 'test/binaryen.js')
-rw-r--r-- | test/binaryen.js/kitchen-sink.js | 2 | ||||
-rw-r--r-- | test/binaryen.js/kitchen-sink.js.txt | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/binaryen.js/kitchen-sink.js b/test/binaryen.js/kitchen-sink.js index 0de23883a..1a4b2452d 100644 --- a/test/binaryen.js/kitchen-sink.js +++ b/test/binaryen.js/kitchen-sink.js @@ -658,7 +658,7 @@ function test_core() { module.anyref.pop(), module.eqref.pop(), module.i31ref.pop(), - module.dataref.pop(), + module.structref.pop(), module.stringref.pop(), module.stringview_wtf8.pop(), module.stringview_wtf16.pop(), diff --git a/test/binaryen.js/kitchen-sink.js.txt b/test/binaryen.js/kitchen-sink.js.txt index 4798c8592..0605ef4cc 100644 --- a/test/binaryen.js/kitchen-sink.js.txt +++ b/test/binaryen.js/kitchen-sink.js.txt @@ -2179,7 +2179,7 @@ getExpressionInfo(tuple[3])={"id":14,"type":5,"value":3.7} (pop i31ref) ) (drop - (pop dataref) + (pop structref) ) (drop (pop stringref) @@ -4283,7 +4283,7 @@ getExpressionInfo(tuple[3])={"id":14,"type":5,"value":3.7} (pop i31ref) ) (drop - (pop dataref) + (pop structref) ) (drop (pop stringref) |