diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-05-16 18:59:41 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-05-16 18:59:41 -0700 |
commit | 8b7c2891d3ae818f5bdfbd9a23477ed8a1b5c8c0 (patch) | |
tree | 3eaeccb5ae89f6805629ace404eae6e42566ba3c /emscripten.py | |
parent | 5c5cbb7b179e9c04846513895fc17e8a125a186b (diff) |
fix dyncalls in closure+asm and use closure in benchmarks
Diffstat (limited to 'emscripten.py')
-rwxr-xr-x | emscripten.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emscripten.py b/emscripten.py index 8ffdf458..248d0ce4 100755 --- a/emscripten.py +++ b/emscripten.py @@ -456,7 +456,7 @@ def emscript(infile, settings, outfile, libraries=[], compiler_engine=None, asm_setup += ''' function invoke_%s(%s) { try { - %sModule.dynCall_%s(%s); + %sModule["dynCall_%s"](%s); } catch(e) { if (typeof e !== 'number' && e !== 'longjmp') throw e; asm["setThrew"](1, 0); |