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.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/gen-s-parser.py b/scripts/gen-s-parser.py
index b7b34128a..1111191e4 100755
--- a/scripts/gen-s-parser.py
+++ b/scripts/gen-s-parser.py
@@ -28,8 +28,10 @@ instructions = [
("br_if", "makeBreak(s)"),
("br_table", "makeBreakTable(s)"),
("return", "makeReturn(s)"),
- ("call", "makeCall(s)"),
- ("call_indirect", "makeCallIndirect(s)"),
+ ("call", "makeCall(s, /*isReturn=*/false)"),
+ ("call_indirect", "makeCallIndirect(s, /*isReturn=*/false)"),
+ ("return_call", "makeCall(s, /*isReturn=*/true)"),
+ ("return_call_indirect", "makeCallIndirect(s, /*isReturn=*/true)"),
("drop", "makeDrop(s)"),
("select", "makeSelect(s)"),
("local.get", "makeLocalGet(s)"),