From 958ff4115e542ef1d0ae712f4961e342386efe54 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Fri, 16 Aug 2024 12:53:52 -0700 Subject: Implement table.init (#6827) Also use TableInit in the interpreter to initialize module's table state, which will now handle traps properly, fixing #6431 --- scripts/gen-s-parser.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'scripts/gen-s-parser.py') diff --git a/scripts/gen-s-parser.py b/scripts/gen-s-parser.py index 3b2eb9d01..86826ad79 100755 --- a/scripts/gen-s-parser.py +++ b/scripts/gen-s-parser.py @@ -560,9 +560,7 @@ instructions = [ ("table.grow", "makeTableGrow()"), ("table.fill", "makeTableFill()"), ("table.copy", "makeTableCopy()"), - # TODO: - # table.init - # + ("table.init", "makeTableInit()"), # exception handling instructions ("try", "makeTry()"), ("try_table", "makeTryTable()"), -- cgit v1.2.3