diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-01-25 18:44:39 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-01-25 18:44:39 -0800 |
commit | ddb4f598d490fb9aec1dea29b44e795475b4137e (patch) | |
tree | d2ea1663ed6ec971d4b6531188e733b27480a293 | |
parent | 09f0ed8fa19e4fcf8a600d2e99c25ddde9c7d45f (diff) |
forward copyTemp* to asm
-rwxr-xr-x | emscripten.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emscripten.py b/emscripten.py index 56bc3922..fcc76902 100755 --- a/emscripten.py +++ b/emscripten.py @@ -327,7 +327,7 @@ def emscript(infile, settings, outfile, libraries=[]): fundamentals = ['Math', 'Int8Array', 'Int16Array', 'Int32Array', 'Uint8Array', 'Uint16Array', 'Uint32Array', 'Float32Array', 'Float64Array'] math_envs = ['Runtime.bitshift64', 'Math.min'] # TODO: move min to maths asm_setup = '\n'.join(['var %s = %s;' % (f.replace('.', '_'), f) for f in math_envs]) - basic_funcs = ['abort', 'assert', 'asmPrintInt', 'asmPrintFloat'] + [m.replace('.', '_') for m in math_envs] + basic_funcs = ['abort', 'assert', 'asmPrintInt', 'asmPrintFloat', 'copyTempDouble', 'copyTempFloat'] + [m.replace('.', '_') for m in math_envs] basic_vars = ['STACKTOP', 'STACK_MAX', 'tempDoublePtr', 'ABORT'] basic_float_vars = ['NaN', 'Infinity'] if forwarded_json['Types']['preciseI64MathUsed']: |