Граф коммитов

217 Коммитов

Автор SHA1 Сообщение Дата
Chad Austin 1c06e04fda Code review feedback 2013-03-04 19:31:47 -08:00
Chad Austin 922d046e9b Code review feedback 2013-03-04 19:31:47 -08:00
Chad Austin 68ad675f73 Make temp_files in main() in emscripten.py, not globally. 2013-03-04 19:31:47 -08:00
Chad Austin 5ba10fe45e Get the TempFiles object from the Configuration 2013-03-04 19:31:47 -08:00
Chad Austin 730294d0d1 Move TEMP_DIR into the Configuration object. 2013-03-04 19:31:47 -08:00
Chad Austin 14833940f4 Have emscripten.py access the cache module and instantiate objects to break another dependency on shared.py 2013-03-04 19:31:47 -08:00
Chad Austin c919d824ac Split Cache and JCache into objects and move them into cache.py so they can be loaded without shared.py 2013-03-04 19:31:47 -08:00
Chad Austin a804dfb628 Make chunkify a free function 2013-03-04 19:27:47 -08:00
Chad Austin d0423ad1cc Move run_js into jsrun.py (work towards breaking emscripten.py's dependency on shared, which requires .emscripten at import time) 2013-03-04 19:14:38 -08:00
Chad Austin 1c08fd0c42 Compile the relooper into the emscripten cache directory 2013-03-04 19:12:10 -08:00
Chad Austin 98f6c4d2d6 remove jcache global variable in emscripten.py 2013-03-04 19:09:42 -08:00
Chad Austin 74b72bba49 Kill compiler_engine global variable and use the specified compiler engine for every invocation in emscripten.py 2013-03-04 19:08:33 -08:00
Chad Austin cc9cc70e87 Delete the compiled relooper.js (but allow specification of an arbitrary relooper) 2013-03-04 19:07:43 -08:00
Chad Austin bd4bc7050b allow cwd-relative paths when passing --compiler to emscripten.py 2013-03-04 19:06:20 -08:00
Chad Austin eff17663bc Pass configuration into emscript 2013-03-04 19:04:08 -08:00
Chad Austin b32d064455 Add command line option to emscripten.py to suppress usage warning 2013-03-04 19:01:45 -08:00
Chad Austin 5319316288 Integrate azakai's style feedback and make sanity tests pass again. 2013-03-04 19:01:45 -08:00
Chad Austin c83c53bfe5 Remove TempFiles's dependency on global and environment variables 2013-03-04 19:00:41 -08:00
Alon Zakai 92ab081791 fix error message 2013-03-03 08:02:58 -08:00
Alon Zakai 86c668e53b assert on emscript child processes returning forwarded data, if not, they may have aborted prematurely 2013-03-01 21:57:47 -05:00
Vladimir Vukicevic 31186ef9ed Add CHECK_HEAP_ALIGN to perform runtime alignment checks
Adds a much cheaper CHECK_HEAP_ALIGN option to do heap access
alignment checks.  Less extensive than SAFE_HEAP, but also much
cheaper.
2013-02-26 23:04:11 -05:00
Alon Zakai 722c7b69e7 remove unneeded parens in python 2013-02-26 20:13:02 -05:00
Vladimir Vukicevic d08b1ad1ec add cache debugging 2013-02-26 19:42:31 -05:00
Alon Zakai b2c8d8dede sort settings keys, to ensure the same order for debugging and jcache comparisons 2013-02-26 16:22:22 -05:00
Alon Zakai f3cc237798 add some newlines in very large function tables, to avoid emitting ridiculously long lines 2013-02-26 15:29:59 -05:00
Alon Zakai 54f71a8237 allow adjusting # of cpu cores to use with EMCC_CORES 2013-02-26 12:36:51 -05:00
Alon Zakai bfeffef97b adjust chunking sizes 2013-02-26 10:16:15 -05:00
Alon Zakai f6a2a7b893 adjust chunk sizes to better handle large numbers of cores and large amounts of forwarded data 2013-02-25 22:33:13 -05:00
Alon Zakai c00e097d60 always use Math.imul, with fast polyfill. will be useful for faster 64-bit math 2013-02-22 18:55:13 -08:00
Alon Zakai b0ffa2f8f5 semi polyfill for Math.imul 2013-02-01 21:32:13 -08:00
Alon Zakai 496dd28973 improve asm safe heap support and add ASM_HEAP_LOG 2013-01-28 13:59:39 -08:00
Alon Zakai 19acb40b4c make safe heap work in asm 2013-01-28 11:15:12 -08:00
Alon Zakai ddb4f598d4 forward copyTemp* to asm 2013-01-25 18:44:39 -08:00
Alon Zakai 2dbcd8d08d fix asm jsfunc chunking 2013-01-25 10:31:11 -08:00
Alon Zakai 823c8534b9 optimize memset 2013-01-24 14:07:29 -08:00
Alon Zakai f23a99a624 fix isNaN for asm 2013-01-23 16:48:49 -08:00
Alon Zakai ab20c69e04 refactor makeComparison and use it in more places 2013-01-23 16:34:36 -08:00
Alon Zakai d3a1aa4fce fix function table type defs 2013-01-22 15:16:20 -08:00
Alon Zakai 7aa630b73b explicitly pass global stuff to asm, due to node weirdness 2013-01-22 15:05:38 -08:00
Alon Zakai 6f3e1629f8 make function indexing replacements JSON-friendly 2013-01-22 11:37:18 -08:00
Alon Zakai 98c1cf33a6 refactor getProcAddress 2013-01-20 16:03:20 -08:00
Alon Zakai 6c32b689d3 add Math.min in math envs, for now 2013-01-18 19:25:53 -08:00
Alon Zakai d576a64f29 fix dynCall return coercions 2013-01-18 19:23:46 -08:00
Alon Zakai d89113a6bb show empty function table error only in debug mode 2013-01-18 18:23:28 -08:00
Alon Zakai 528799c0d9 generate empty function tables if called but no functions implemented for that signature 2013-01-18 15:01:17 -08:00
Alon Zakai 1191cf32e0 wrap library functions before putting them in asm function tables 2013-01-18 14:07:57 -08:00
Alon Zakai c9625dea12 fix function table dummy element coercions 2013-01-18 11:56:22 -08:00
Alon Zakai 54ef788e6c fix dynCall float coercions 2013-01-18 11:33:21 -08:00
Alon Zakai cff9269c5d use global. in asm 2013-01-18 11:28:04 -08:00
Alon Zakai 5ec1dac5d3 update to asm spec 2013-01-18 10:39:19 -08:00