summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2022-07-13 14:38:10 -0700
committerGitHub <noreply@github.com>2022-07-13 14:38:10 -0700
commit9671e95adbfcf0984a7e9800a7ea2ed33e1670ad (patch)
treed7273e64ed26429d18568439cdfb7b1fb6369645 /scripts
parent7b9c18b98c020f887aa9cb1750543751ebe5c530 (diff)
downloadbinaryen-9671e95adbfcf0984a7e9800a7ea2ed33e1670ad.tar.gz
binaryen-9671e95adbfcf0984a7e9800a7ea2ed33e1670ad.tar.bz2
binaryen-9671e95adbfcf0984a7e9800a7ea2ed33e1670ad.zip
[Strings] stringview access operations (#4798)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gen-s-parser.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/gen-s-parser.py b/scripts/gen-s-parser.py
index ce9efe8af..8d0fd460f 100755
--- a/scripts/gen-s-parser.py
+++ b/scripts/gen-s-parser.py
@@ -627,6 +627,11 @@ instructions = [
("string.as_wtf8", "makeStringAs(s, StringAsWTF8)"),
("string.as_wtf16", "makeStringAs(s, StringAsWTF16)"),
("string.as_iter", "makeStringAs(s, StringAsIter)"),
+ ("stringview_wtf8.advance", "makeStringWTF8Advance(s)"),
+ ("stringview_wtf16.get_codeunit", "makeStringWTF16Get(s)"),
+ ("stringview_iter.next", "makeStringIterNext(s)"),
+ ("stringview_iter.advance", "makeStringIterMove(s, StringIterMoveAdvance)"),
+ ("stringview_iter.rewind", "makeStringIterMove(s, StringIterMoveRewind)"),
]