From 2dff27c086e8f2a9913096ebf3dc93e97051d85a Mon Sep 17 00:00:00 2001 From: Max Graey Date: Thu, 7 Oct 2021 22:43:30 +0300 Subject: Add table.set operation (#4215) --- scripts/gen-s-parser.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'scripts/gen-s-parser.py') 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)"), -- cgit v1.2.3