Skip to content

Commit c07d41d

Browse files
committed
.
1 parent 54fd105 commit c07d41d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/shared.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,13 +1215,12 @@ def make_dynCall(sig, args):
12151215
if not Settings.MAIN_MODULE and not Settings.SIDE_MODULE:
12161216
# Optimize dynCall accesses in the case when not building with dynamic
12171217
# linking enabled.
1218-
return 'dynCall_%s(%s)' % (sig, join)
1218+
return 'dynCall_%s(%s)' % (sig, args)
12191219
else:
12201220
return 'Module["dynCall_%s"](%s)' % (sig, args)
12211221
else:
12221222
return 'wasmTable.get(%s)(%s)' % (args[0], ','.join(args[1:]))
12231223

1224-
12251224
@staticmethod
12261225
def make_invoke(sig, named=True):
12271226
legal_sig = JS.legalize_sig(sig) # TODO: do this in extcall, jscall?

0 commit comments

Comments
 (0)