aboutsummaryrefslogtreecommitdiff
path: root/tools/asm_module.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/asm_module.py')
-rw-r--r--tools/asm_module.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/asm_module.py b/tools/asm_module.py
index bf7fa71d..226b66b8 100644
--- a/tools/asm_module.py
+++ b/tools/asm_module.py
@@ -84,7 +84,9 @@ class AsmModule():
for table in self.tables:
if table not in main.tables:
sig = table[table.rfind('_')+1:]
- all_sendings['invoke_%s' % sig] = shared.JS.make_invoke(sig, named=False)
+ func = 'invoke_%s' % sig
+ all_sendings[func] = func
+ main.pre_js += 'var %s = %s;\n' % (func, shared.JS.make_invoke(sig, named=False))
added_sending = True
# imports