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

794 Коммитов

Автор SHA1 Сообщение Дата
Alon Zakai 5eeccdefd3 update llvm version to 3.5 ; 1.29.1 2015-01-07 11:48:05 -08:00
Alon Zakai 16d378c78f do not use an env var to communicate c++ mode 2015-01-01 19:48:54 -08:00
Alon Zakai 550729d643 fix lto in non-fastcomp 2015-01-01 11:14:32 -08:00
Alon Zakai e4eb04c911 perform LLVM LTO in a separate invocation of opt, so that it does not mix with legalization and other stuff we do at link time 2014-12-31 14:23:35 -08:00
Alon Zakai 278ec84fbb add SDL to list of libraries we don't need to issue link warnings about 2014-12-21 11:27:43 -08:00
Bruce Mitchener c884a4be5f Set ASM_JS default prior to processing command line.
This lets the user set ASM_JS to 2 and avoid a warning if they
also set ALLOW_MEMORY_GROWTH.
2014-12-10 15:06:04 +07:00
Bruce Mitchener 84bbf2a6e2 Disable warning when asm.js validation is already disabled.
When ASM_JS is already 2, no need to warn about allowing memory growth
as the user must have known about this and set ASM_JS to 2.
2014-12-10 14:50:31 +07:00
Bruce Mitchener ed19562a35 Fix some typos. 2014-12-09 21:49:32 +07:00
Alon Zakai 11af4f4951 fix interleaving of native and js optimization passes 2014-12-07 20:00:57 -08:00
Alon Zakai dcfd9a8445 emit 'minifyWhitespace only in 'last' pass, to unbreak EMCC_DEBUG=2 on minified final output 2014-12-07 14:08:35 -08:00
Alon Zakai 5af047e2e9 refactor emcc native/js optimizer interaction, and enable full native optimizer path 2014-12-06 12:09:42 -08:00
Alon Zakai f63849ea7c use native optimizer parsing 2014-11-28 21:47:11 -08:00
Alon Zakai e87a68b62a Merge branch 'incoming' into merge-3.4
Conflicts:
	emscripten-version.txt
2014-11-19 16:56:36 -08:00
Alon Zakai 308d916b9d update to llvm 3.4 ; 1.27.1 2014-11-19 16:51:05 -08:00
Jukka Jylanki 1362b20588 Fix another missing 'python emcc' vs 'emcc' for Windows in other.test_emconfigure_js_o. 2014-11-18 20:58:33 +02:00
Alon Zakai f514007c8b fix EMCONFIGURE_JS on object outputs; fixes #2994 2014-11-17 10:47:56 -08:00
Alon Zakai 7cd1439cfa handle symbol map as an option on top of minifyNames 2014-11-14 13:27:16 -08:00
Alon Zakai daf7715b58 turn minifyWhitespace into a global option in emcc, so that it is applied on all passes being run 2014-11-14 13:21:58 -08:00
Alon Zakai 98273eb6a2 Merge branch 'incoming' into cpp_optimizer
Conflicts:
	tests/test_other.py
	tools/js_optimizer.py
2014-11-13 15:59:42 -08:00
Alon Zakai e900594be7 refactor decision to run in native optimizer 2014-11-13 15:56:04 -08:00
Alon Zakai 0a84b64a14 save intermediate json stages with suffix json 2014-11-12 17:56:54 -08:00
Aidan Hobson Sayers 99b67c963a Convert js engine cfs to lists immediately after config read 2014-11-09 15:40:57 +00:00
Alon Zakai db463c7fed unify decisions on whether to run natively, and take into account source maps, which native cannot do 2014-11-04 17:11:11 -08:00
Alon Zakai 92747bfba7 fix EMCC_DEBUG=2 with native passes 2014-11-04 15:17:10 -08:00
Alon Zakai f841398e9c infrastructure to build and use native optimizer 2014-10-30 16:14:17 -07:00
Alon Zakai 94d1346f5d handle just_split/just_concat when bridging js and native optimizers 2014-10-30 15:13:57 -07:00
Alon Zakai 8ba0aecb2a write code to bridge js and native optimizers, serializing to json between then 2014-10-30 14:46:15 -07:00
Alon Zakai f96028b406 refactor EMCC_DEBUG=2 code to reuse the normal mode code 2014-10-30 14:18:18 -07:00
Alon Zakai 1381c289d5 REMOVE use JSON in EMCC_DEBUG=2, and time results 2014-10-29 17:16:02 -07:00
Alon Zakai b24449a907 simplify initial prettify phase in EMCC_DEBUG=2 2014-10-29 15:36:13 -07:00
Alon Zakai d594ae6894 experimental option to emit JSON in EMCC_DEBUG=2 interim phases 2014-10-29 13:53:30 -07:00
Alon Zakai 0be6440dec use system libs args processing in precompiled headers 2014-10-28 17:28:44 -07:00
Alon Zakai eb6ac90760 EMULATE_FUNCTION_POINTER_CASTS option 2014-10-22 16:24:26 -07:00
Bruce Mitchener 5fce62d93c [embind] Minimum RESERVED_FUNCITON_POINTERS not needed.
embind no longer calls Runtime.addFunction(), so a minimum
number of RESERVED_FUNCTION_POINTERS are no longer needed.
2014-10-22 13:26:24 +07:00
Alon Zakai a7659ccb60 add emcc --show-ports 2014-10-21 13:17:27 -07:00
Alon Zakai 1d881c7d93 allow --clear-cache and --clear-ports in the same command 2014-10-21 11:21:22 -07:00
juj e5025fe17a Merge pull request #2898 from lovasoa/patch-2
Qick & dirty fix for #2836
2014-10-21 17:54:53 +03:00
Alon Zakai 4635342807 emcc --clear-ports option 2014-10-20 11:12:57 -07:00
Ophir LOJKINE 12aaad6e71 Qick & dirty fix for #2836 2014-10-19 20:56:53 +02:00
Alon Zakai 0c13a44534 move all ports specific code into separate files under tools/ports/ #2404 2014-10-18 12:04:53 -07:00
Alon Zakai 430989d06f determine SDL system include paths in system_libs.py; #2404 2014-10-17 17:22:26 -07:00
Alon Zakai 95e003622b preparations for emscripten-ports support; #2404 2014-10-17 17:03:25 -07:00
Alon Zakai 3b656a8133 Merge branch 'incoming' into emterpreter 2014-10-17 10:55:47 -07:00
Bruce Mitchener 941145eee1 Centralize --em-config handling.
Per request of Alon.
2014-10-16 07:19:49 +07:00
Alon Zakai e084763951 Merge branch 'incoming' into emterpreter
Conflicts:
	src/preamble.js
2014-10-15 13:28:00 -07:00
Alon Zakai a8c8fadea6 finalize saved original code when it will be swapped in 2014-10-13 17:03:12 -07:00
Alon Zakai 722d8d4495 allow adding more functions to emterpreter blacklist 2014-10-10 11:04:35 -07:00
Bruce Mitchener a223291dff Configure the Emscripten cache directory from the command line.
This allows passing --cache to emcc to set the Emscripten cache
directory rather than only allowing this to be configured via
the EM_CACHE environment variable.
2014-10-10 17:58:03 +07:00
Alon Zakai 4fcace592c make emterpreter optimization story more regular 2014-10-09 19:52:17 -07:00
Alon Zakai 3382b64a92 simple calculation of which variables need a zeroinit 2014-10-08 17:33:52 -07:00