summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2021-01-29 02:47:52 +0000
committerGitHub <noreply@github.com>2021-01-28 18:47:52 -0800
commitbbf40d06a162be8f88a60d1fc4edc3f0015c6c91 (patch)
treee1919618535c320632ed05dbc770bcc516a2e013 /scripts
parent6299471584ce74d365526e33ed0a662bd2ee3490 (diff)
downloadbinaryen-bbf40d06a162be8f88a60d1fc4edc3f0015c6c91.tar.gz
binaryen-bbf40d06a162be8f88a60d1fc4edc3f0015c6c91.tar.bz2
binaryen-bbf40d06a162be8f88a60d1fc4edc3f0015c6c91.zip
[GC] ref.as_non_null (#3527)
This is different than the other RefAs variants in that it is part of the typed functions proposal, and not GC. But it is part of GC prototype 3. Note: This is not useful to us yet as we don't support non-nullable types.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gen-s-parser.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/gen-s-parser.py b/scripts/gen-s-parser.py
index 420f38c64..20d8d54a2 100755
--- a/scripts/gen-s-parser.py
+++ b/scripts/gen-s-parser.py
@@ -571,6 +571,7 @@ instructions = [
("ref.is_func", "makeRefIs(s, RefIsFunc)"),
("ref.is_data", "makeRefIs(s, RefIsData)"),
("ref.is_i31", "makeRefIs(s, RefIsI31)"),
+ ("ref.as_non_null", "makeRefAs(s, RefAsNonNull)"),
("ref.as_func", "makeRefAs(s, RefAsFunc)"),
("ref.as_data", "makeRefAs(s, RefAsData)"),
("ref.as_i31", "makeRefAs(s, RefAsI31)"),