diff options
author | Max Graey <maxgraey@gmail.com> | 2021-10-07 22:43:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-07 12:43:30 -0700 |
commit | 2dff27c086e8f2a9913096ebf3dc93e97051d85a (patch) | |
tree | 3d689a659ad2339639fc4b2e73753b51e6d9295c /scripts/gen-s-parser.py | |
parent | ff68bca64cd669aff59c7e1cc0a6677d267a410f (diff) | |
download | binaryen-2dff27c086e8f2a9913096ebf3dc93e97051d85a.tar.gz binaryen-2dff27c086e8f2a9913096ebf3dc93e97051d85a.tar.bz2 binaryen-2dff27c086e8f2a9913096ebf3dc93e97051d85a.zip |
Add table.set operation (#4215)
Diffstat (limited to 'scripts/gen-s-parser.py')
-rwxr-xr-x | scripts/gen-s-parser.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/gen-s-parser.py b/scripts/gen-s-parser.py index 0c71644aa..b296d85ac 100755 --- a/scripts/gen-s-parser.py +++ b/scripts/gen-s-parser.py @@ -520,8 +520,16 @@ instructions = [ ("ref.is_null", "makeRefIs(s, RefIsNull)"), ("ref.func", "makeRefFunc(s)"), ("ref.eq", "makeRefEq(s)"), - # TODO Add table instructions + # table instructions ("table.get", "makeTableGet(s)"), + ("table.set", "makeTableSet(s)"), + # TODO: + # table.init + # table.fill + # table.copy + # table.grow + # table.size + # # exception handling instructions ("try", "makeTry(s)"), ("throw", "makeThrow(s)"), |