diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2022-08-26 12:11:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-26 12:11:29 -0700 |
commit | 9d20a4e129dc6666f873d84566ea504dfc46ccdc (patch) | |
tree | 99be367933aaddeffa4805f0493cb84d01c0d5a0 /test/binaryen.js | |
parent | 3777624e19f22a6eb80d995408329d789593e427 (diff) | |
download | binaryen-9d20a4e129dc6666f873d84566ea504dfc46ccdc.tar.gz binaryen-9d20a4e129dc6666f873d84566ea504dfc46ccdc.tar.bz2 binaryen-9d20a4e129dc6666f873d84566ea504dfc46ccdc.zip |
Make `i31ref` and `dataref` nullable (#4843)
Match the latest version of the GC spec. This change does not depend on V8
changing its interpretation of the shorthands because we are still temporarily
not emitting the binary shorthands, but all Binaryen users will have to update
their interpretations along with this change if they use the text or binary
shorthands.
Diffstat (limited to 'test/binaryen.js')
-rw-r--r-- | test/binaryen.js/kitchen-sink.js.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/binaryen.js/kitchen-sink.js.txt b/test/binaryen.js/kitchen-sink.js.txt index f92ceeb4a..7d52a31ff 100644 --- a/test/binaryen.js/kitchen-sink.js.txt +++ b/test/binaryen.js/kitchen-sink.js.txt @@ -2161,10 +2161,10 @@ getExpressionInfo(tuple[3])={"id":14,"type":5,"value":3.7} (pop eqref) ) (drop - (pop i31ref) + (pop (ref i31)) ) (drop - (pop dataref) + (pop (ref data)) ) (drop (pop stringref) @@ -4265,10 +4265,10 @@ getExpressionInfo(tuple[3])={"id":14,"type":5,"value":3.7} (pop eqref) ) (drop - (pop i31ref) + (pop (ref i31)) ) (drop - (pop dataref) + (pop (ref data)) ) (drop (pop stringref) |