summaryrefslogtreecommitdiff
path: root/scripts/gen-s-parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gen-s-parser.py')
-rwxr-xr-xscripts/gen-s-parser.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/gen-s-parser.py b/scripts/gen-s-parser.py
index dd053ecee..5bf5ec942 100755
--- a/scripts/gen-s-parser.py
+++ b/scripts/gen-s-parser.py
@@ -496,8 +496,11 @@ instructions = [
("tuple.make", "makeTupleMake(s)"),
("tuple.extract", "makeTupleExtract(s)"),
("pop", "makePop(s)"),
- # GC instructions
- ("ref.eq", "makeRefEq(s)")
+ # GC
+ ("ref.eq", "makeRefEq(s)"),
+ ("i31.new", "makeI31New(s)"),
+ ("i31.get_s", "makeI31Get(s, true)"),
+ ("i31.get_u", "makeI31Get(s, false)")
]