diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-08-15 16:51:29 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-08-15 16:51:29 -0700 |
commit | 41e7af7eeb7f0d0a3991abd7ff87177308570c54 (patch) | |
tree | 3c0684b6549c0e186032ca38252bc40fc4657273 /tools/asm_module.py | |
parent | b1eaf55eefb815e8f3556b59ce64e6d1e0f55d55 (diff) | |
parent | 2e229a560955c07d1b66db27913af3284baa64fb (diff) |
Merge branch 'incoming'
Diffstat (limited to 'tools/asm_module.py')
-rw-r--r-- | tools/asm_module.py | 4 |
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 |