diff options
author | Alon Zakai <azakai@google.com> | 2022-07-13 14:38:10 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-13 14:38:10 -0700 |
commit | 9671e95adbfcf0984a7e9800a7ea2ed33e1670ad (patch) | |
tree | d7273e64ed26429d18568439cdfb7b1fb6369645 /scripts | |
parent | 7b9c18b98c020f887aa9cb1750543751ebe5c530 (diff) | |
download | binaryen-9671e95adbfcf0984a7e9800a7ea2ed33e1670ad.tar.gz binaryen-9671e95adbfcf0984a7e9800a7ea2ed33e1670ad.tar.bz2 binaryen-9671e95adbfcf0984a7e9800a7ea2ed33e1670ad.zip |
[Strings] stringview access operations (#4798)
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/gen-s-parser.py | 5 |
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)"), ] |