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

744 Коммитов

Автор SHA1 Сообщение Дата
Alon Zakai bafab997bd more carefully split out functions in js optimizer 2012-11-22 12:40:03 +01:00
Alon Zakai bb463d84a9 assert on generatedFunctions being there when we need it 2012-11-22 10:39:31 +01:00
Alon Zakai be73e8c91f more jcache testing, and add newlines to ensure chunk separation 2012-11-21 21:58:34 +01:00
Alon Zakai e385931c50 finish js optimizer caching and add tests 2012-11-21 21:27:05 +01:00
Alon Zakai 9ec292c78a basic logic of jcache in js optimizer 2012-11-21 20:47:02 +01:00
Alon Zakai e89eecc6cd use chunkify in js optimizer, in preparation for jcaching 2012-11-21 20:47:02 +01:00
Alon Zakai 3a048d9e58 cache emscript function chunks 2012-11-21 20:47:02 +01:00
Alon Zakai 6f679ca7e7 return chunks of text in chunkify to simplify the ap-iy 2012-11-21 20:47:02 +01:00
Alon Zakai b263a4003a fix chunking logic to generate >1 chunk 2012-11-21 20:47:02 +01:00
Alon Zakai 60a11cfaec improve chunkify to consider previous chunkings when caching 2012-11-21 20:47:02 +01:00
Alon Zakai a2b241e70b refactor chunking code and add function ident information 2012-11-21 20:47:02 +01:00
Alon Zakai e4aa21f08a fix and test pre caching 2012-11-21 20:47:01 +01:00
Alon Zakai 8fce64dd18 basic jcache on pre with files+cPickle 2012-11-21 20:47:01 +01:00
Alon Zakai 6af60b7137 add more caching logic including short vs full keys 2012-11-21 20:47:01 +01:00
Alon Zakai 58e00ebddf basic logic and stubs for caching pre phase 2012-11-21 20:47:01 +01:00
Alon Zakai f199880bb1 set up parameter passing for jcache 2012-11-21 20:47:01 +01:00
Alon Zakai d54af79b81 prevent annoying warnings during relooper bootstrapping 2012-11-15 11:56:04 -08:00
Alon Zakai 2d96055336 clean up test.ll 2012-11-14 18:50:57 -08:00
Jukka Jylänki f5dd729eb2 Fix typo in WindowsPopen.kill(). Avoid using returncode variable manually, but just route through poll() instead. 2012-11-14 13:16:33 +02:00
Jukka Jylänki 5ec613c59d Refactor Windows replacement for Popen to allow passing stdin to Popen process, and poll() and kill(). Fixes tests other.test_fix_closure and other.test_warn_undefined on Windows. 2012-11-14 13:00:36 +02:00
Jukka Jylänki e20dbc1074 Implement missing used functions on MockPopen to pass Windows tests utilizing timeout_run(). 2012-11-14 08:50:11 +02:00
Alon Zakai f1b8f8f1b4 only save temp files in EMCC_DEBUG_SAVE mode 2012-11-13 17:49:57 -08:00
Alon Zakai 7453def33e Merge pull request #703 from juj/cmake
Cmake support.
2012-11-13 13:32:41 -08:00
Alon Zakai 8263e2377f headless option 2012-11-13 11:27:22 -08:00
Jukka Jylänki 075317782e Rename CallProcess to call_process. 2012-11-13 08:00:32 +02:00
Jukka Jylänki 098a94a578 On Windows, depending on the version of make, these calls have been observed to fail with a "WindowsError: [Error 6] The handle is invalid", so be loud about it when this occurs. For more information, see http://bugs.python.org/issue3905 . Implement a workaround to Popen to avoid this issue. 2012-11-12 22:28:22 +02:00
Jukka Jylänki b8b117d434 Don't silently suppress received exceptions inside shared.building.is_ar and shared.building.is_bitcode functions, but print information about them before returning False. On Windows, depending on the version of make, these calls have been observed to fail with a "WindowsError: [Error 6] The handle is invalid", so be loud about it when this occurs. For more information, see http://bugs.python.org/issue3905 . 2012-11-12 21:14:38 +02:00
Alon Zakai 1bc86fdeb8 alter version to bootstrap relooper 2012-11-11 12:26:16 -08:00
Alon Zakai 72e1ce8b4b use internal relooper sources 2012-11-11 10:18:20 -08:00
Alon Zakai 795bcc6e76 clear cache and run sanity checks on version bumps, this will help with relooper updates etc. 2012-11-10 20:05:19 -08:00
Alon Zakai 0a8dc20dfa disable closure on relooper - no noticeable speedup, but inlining causes some stack overflows on large projects 2012-11-10 16:08:33 -08:00
Alon Zakai 1d3c282353 make sure to fail if relooper bootstrap failed 2012-11-10 15:12:52 -08:00
Alon Zakai acbf809a3c bootstrap relooperautomatically 2012-11-10 14:37:15 -08:00
Alon Zakai ca34054b84 fix crash in js optimizer 2012-11-08 18:31:06 -08:00
Alon Zakai 1b0215b9bd rename __label__ => label 2012-11-08 18:26:19 -08:00
Alon Zakai 4adbd50104 notice NODE env var in .emscripten by default 2012-11-08 11:08:39 -08:00
Alon Zakai 1ce3d883f1 Merge pull request #676 from Blechhirn/SplitFix
Fix splitting on case-insensitive file systems
2012-11-08 10:01:04 -08:00
Alon Zakai 404eed6c23 less debug output in js optimizer 2012-11-06 18:01:37 -08:00
Alon Zakai c5da6d2ed4 save temp files in EMCC_DEBUG mode 2012-11-06 11:12:12 -08:00
Manuel Wellmann 89c12e9da6 Fix splitting on case-insensitive file systems 2012-11-06 10:23:15 +01:00
Jukka Jylänki cae69c43a7 Add another loud error message containing the actual command line when calling make in shared.py. 2012-11-06 00:20:10 +02:00
Jukka Jylänki 1263a59438 If configure in shared.py fails with an exception, print out the command line that was attempted. 2012-11-05 23:57:27 +02:00
Alon Zakai 3af6cf7980 simplify default settings 2012-11-04 10:31:25 -08:00
Alon Zakai 345f0b4022 handle windows line endings in js optimizer splitting 2012-11-04 07:53:35 -08:00
Alon Zakai b2052b1f3a log out js optimizer split sizes 2012-11-03 22:15:29 -07:00
Alon Zakai b5b211ebbb fix exit code on sanity fails 2012-11-03 12:35:54 -07:00
Alon Zakai 0a8eb75c78 tell closure its input is ECMASCRIPT5 2012-10-30 17:19:43 -07:00
Alon Zakai 3e34ab9ba6 define LDSHARED, useful in zlib configure 2012-10-29 17:24:36 -07:00
Alon Zakai fd223726a4 eliminate variables that have no uses but their definition has side effects 2012-10-29 16:49:42 -07:00
Alon Zakai 9025c62412 re-enable parallelization of js optimizer on windows 2012-10-29 11:01:16 -07:00