diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-01-14 18:15:53 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-01-14 18:15:53 -0800 |
commit | e8f92fa2294b4f1297c53ae50b866ef4b9d37f44 (patch) | |
tree | abc403bad98b2c48d10b9c2b5e88f60b1a0a39a9 /emscripten.py | |
parent | a90973a03a8aa6d800e7d408a4d7446ead8c5745 (diff) |
fix NaN import to asm
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 50d7f6c5..26fe0659 100755 --- a/emscripten.py +++ b/emscripten.py @@ -360,7 +360,7 @@ var i64Math_modulo = function(a, b, c, d, e) { i64Math.modulo(a, b, c, d, e) }; asm_global_vars = ''.join([' var ' + g + '=env.' + g + '|0;\n' for g in basic_vars + global_vars]) + \ ''.join([' var ' + g + '=+env.' + g + ';\n' for g in basic_float_vars]) # sent data - sending = '{ ' + ', '.join([math_fix(s) + ': ' + s for s in fundamentals + basic_funcs + global_funcs + basic_vars + global_vars]) + ' }' + sending = '{ ' + ', '.join([math_fix(s) + ': ' + s for s in fundamentals + basic_funcs + global_funcs + basic_vars + basic_float_vars + global_vars]) + ' }' # received if not simple: receiving = ';\n'.join(['var ' + s + ' = Module["' + s + '"] = asm.' + s for s in exported_implemented_functions + function_tables]) |