diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-30 18:14:41 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-12-07 14:23:21 -0800 |
commit | 518597ee2bdb9b1f060334a469ec73777a5e42e1 (patch) | |
tree | 53bf126ddab92e9d0133a331045263d82a8ea6b0 /emscripten.py | |
parent | 41359b35684cb512077d1a69ecaf1eb850fd305f (diff) |
expose tempDoublePtr 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 7dfe92eb..e44d5455 100755 --- a/emscripten.py +++ b/emscripten.py @@ -292,7 +292,7 @@ def emscript(infile, settings, outfile, libraries=[]): function_tables_defs = '\n'.join([table for table in last_forwarded_json['Functions']['tables'].itervalues()]) if settings.get('ASM_JS'): fundamentals = ['buffer', 'Int8Array', 'Int16Array', 'Int32Array', 'Uint8Array', 'Uint16Array', 'Uint32Array', 'Float32Array', 'Float64Array'] - basics = ['abort', 'assert', 'STACKTOP', 'STACK_MAX'] + basics = ['abort', 'assert', 'STACKTOP', 'STACK_MAX', 'tempDoublePtr'] asm_runtime_funcs = ['stackAlloc', 'stackSave', 'stackRestore'] # calculate exports function_tables = ['FUNCTION_TABLE_' + table for table in last_forwarded_json['Functions']['tables'].iterkeys()] |