summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2022-06-29 16:05:10 -0700
committerGitHub <noreply@github.com>2022-06-29 16:05:10 -0700
commit19f4db6ef5263a578baef7e64bf9c9169bb771e6 (patch)
treed9608e8483415332b744701a714ec83d8e8009fb /scripts
parentd252c3e9e5dee98150c5ac625b6deb0e95139ede (diff)
downloadbinaryen-19f4db6ef5263a578baef7e64bf9c9169bb771e6.tar.gz
binaryen-19f4db6ef5263a578baef7e64bf9c9169bb771e6.tar.bz2
binaryen-19f4db6ef5263a578baef7e64bf9c9169bb771e6.zip
[Strings] Add string.new* instructions (#4761)
This is the first instruction from the Strings proposal. This includes everything but interpreter support.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gen-s-parser.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/gen-s-parser.py b/scripts/gen-s-parser.py
index 35b08b13a..60c9fc6e7 100755
--- a/scripts/gen-s-parser.py
+++ b/scripts/gen-s-parser.py
@@ -614,6 +614,8 @@ instructions = [
("ref.as_func", "makeRefAs(s, RefAsFunc)"),
("ref.as_data", "makeRefAs(s, RefAsData)"),
("ref.as_i31", "makeRefAs(s, RefAsI31)"),
+ ("string.new_wtf8", "makeStringNew(s, StringNewWTF8)"),
+ ("string.new_wtf16", "makeStringNew(s, StringNewWTF16)"),
]