diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-30 18:36:22 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-12-07 14:23:21 -0800 |
commit | 2617ac81a9eec67f2d4e786df09c67b1ce4b4a47 (patch) | |
tree | 3314e0edd052b40dd4a983fd724d2cef4fc133aa /emscripten.py | |
parent | b8e8298f3d2ad9f531bd22aa7c41d794d6c98fa5 (diff) |
commented out preparation for more runtime forwarding into asm
Diffstat (limited to 'emscripten.py')
-rwxr-xr-x | emscripten.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/emscripten.py b/emscripten.py index 1c30f226..11bf53e9 100755 --- a/emscripten.py +++ b/emscripten.py @@ -293,6 +293,8 @@ def emscript(infile, settings, outfile, libraries=[]): if settings.get('ASM_JS'): fundamentals = ['buffer', 'Int8Array', 'Int16Array', 'Int32Array', 'Uint8Array', 'Uint16Array', 'Uint32Array', 'Float32Array', 'Float64Array'] basics = ['abort', 'assert', 'STACKTOP', 'STACK_MAX', 'tempDoublePtr'] + #if forwarded_json['Types']['preciseI64MathUsed']: + # basics += ['i64Math'] asm_runtime_funcs = ['stackAlloc', 'stackSave', 'stackRestore'] # calculate exports function_tables = ['FUNCTION_TABLE_' + table for table in last_forwarded_json['Functions']['tables'].iterkeys()] |