diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-06 10:36:23 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-11-06 10:36:23 -0800 |
commit | 8b621ba1dff42a1b6c8b9c34aed258889ee49ed7 (patch) | |
tree | 7f39c6287d228d6e71ab62fa0cdce460e4ac2127 | |
parent | 33cdfe5819e789cb9a98b8b7f66447ceab861f84 (diff) |
cleanup
-rwxr-xr-x | emscripten.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/emscripten.py b/emscripten.py index 7bf1bb03..25940b65 100755 --- a/emscripten.py +++ b/emscripten.py @@ -123,18 +123,14 @@ def emscript(infile, settings, outfile, libraries=[]): open(forwarded_file, 'w').write(forwarded_data) # Pass 2 + # XXX must coordinate function indexixing data when parallelizing if DEBUG: print >> sys.stderr, 'phase 2' funcs_file = temp_files.get('.ll').name open(funcs_file, 'w').write('\n'.join(funcs) + '\n' + meta) - #print 'pass 2c..'#, open(funcs_file).read() out = shared.run_js(compiler, shared.COMPILER_ENGINE, [settings_file, funcs_file, 'funcs', forwarded_file] + libraries, stdout=subprocess.PIPE, cwd=path_from_root('src')) funcs_js, forwarded_data = out.split('//FORWARDED_DATA:') - #print 'js', js forwarded_file += '2' - #print >> sys.stderr, 'FORWARDED_DATA 2:', forwarded_data, type(forwarded_data), forwarded_file open(forwarded_file, 'w').write(forwarded_data) - # XXX must coordinate function indexixing data when parallelizing - #print 'OUT\n', out js += funcs_js # Pass 3 |