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

298 Коммитов

Автор SHA1 Сообщение Дата
Nick Bray a1b5846d8e Refactor a dictionary comprehension for Python 2.6 compatibility. 2013-08-08 16:32:32 -07:00
Alon Zakai 3284c0b5aa Merge pull request #1403 from imvu/scons-updates-pull-request
Bring SCons integration up to date with latest incoming and fix some SCons build reliability issues and races
2013-08-08 14:44:19 -07:00
Alon Zakai d1bf010062 fix EXPORT_ALL in asm mode 2013-07-24 15:23:30 -07:00
Chad Austin 8e5bdd53c5 avoid importing shared from emscripten.py if possible 2013-07-17 15:04:13 -07:00
Jukka Jylanki 4495037526 Improve error message to better describe a user error with positional arguments. 2013-07-17 15:00:26 -07:00
Alon Zakai 6e7a7aa3e8 Merge branch 'self-dlopen' of github.com:int3/emscripten into incoming 2013-07-15 15:24:54 -07:00
Jez Ng 61c31f6935 Use DLOPEN_SUPPORT instead of LINKABLE to enable self-dlopen.
Also address style feedback.
2013-07-15 14:36:28 -07:00
Alon Zakai 85d286d056 Merge pull request #1357 from int3/keyboard-interrupt
Handle keyboard interrupt in child processes.
2013-07-15 10:26:28 -07:00
Jez Ng 392b7183a9 Account for newlines. 2013-07-11 21:02:34 -07:00
Jez Ng 470b7da456 Filter out unnamed_addr globals from symbol table. 2013-07-11 20:37:58 -07:00
Jez Ng c1e1d87bc3 Implement self-dlopen. 2013-07-11 20:37:57 -07:00
Jez Ng 0939e80a79 Don't throw KeyboardInterrupt from a child process.
This should fix #1327.
2013-07-10 13:40:23 -07:00
Jez Ng 2af851e905 Remove semicolons from Python code. 2013-07-08 17:26:14 -07:00
Alon Zakai a4d526cf91 move runPostSets into asm module 2013-07-03 15:31:05 -07:00
Alon Zakai 8b68c8ada6 fix relocation of global linkable variables, enable iostream module linking test 2013-07-03 15:31:05 -07:00
Alon Zakai 218696cdd2 add a naming to globals that can be linked and used across modules 2013-07-03 15:31:05 -07:00
Alon Zakai 7596d284a0 refactor invoke generation and add missing invokes when linking 2013-07-03 15:31:04 -07:00
Alon Zakai 1084d02ba5 asmify copyTempFloat|Double 2013-06-20 11:31:36 -07:00
Alon Zakai 40d935ea64 reduce error to warning on having no functions 2013-06-18 18:55:58 -07:00
Alon Zakai de294ed89b raise an error if no functions were left to process 2013-06-08 20:22:13 -07:00
Alon Zakai 8b7c2891d3 fix dyncalls in closure+asm and use closure in benchmarks 2013-05-16 18:59:41 -07:00
Alon Zakai 9da6e1f335 support closure compiler on the shell in asm mode 2013-05-16 18:22:28 -07:00
Alon Zakai cf2846e05a fix separate table function pointer initial value 2013-05-15 18:53:01 -07:00
Alon Zakai 055e9d90a9 emit each function table of its own size 2013-05-15 17:23:23 -07:00
Alon Zakai fed8814b70 remove obsolete comment 2013-05-15 14:12:21 -07:00
Alon Zakai ca91732506 handle the case of no function tables with aliasing function pointers 2013-05-15 11:55:50 -07:00
Alon Zakai 8ed84f09e7 refactor code to generate empty function tables 2013-05-15 11:34:18 -07:00
Alon Zakai ede562fea8 option to alias function pointer indexes across types 2013-05-15 11:16:53 -07:00
Alon Zakai 1086b71615 make sure function table size for empty tables is the right power of two 2013-05-06 12:21:27 -07:00
Alon Zakai fc41fce2f5 generate empty function tables of proper size 2013-05-05 18:05:44 -07:00
Chad Austin 58352074e5 Add a benchmark for calling from C++ into JS via interfaces 2013-05-02 18:55:54 -07:00
Alon Zakai d48ab255de fix stackAlloc in asm for le32 2013-04-29 13:02:33 -07:00
Alon Zakai 5ba1a0e94f do not swallow exceptions in invoke_* that are not C++ exceptions or longjmp 2013-04-28 17:04:51 -07:00
Alon Zakai 46630aa446 informative error on bad function pointer call with ASSERTIONS=1 2013-04-25 15:44:54 -07:00
Alon Zakai fac94229d8 debugging text cleanup 2013-04-25 10:54:25 -07:00
Alon Zakai 31872fbd01 support for Runtime.addFunction in asm.js 2013-04-19 20:36:02 -07:00
Alon Zakai 544b922fd0 throw in longjmp, do not overwrite previous throw data in setThrew, and enable test_longjmp in asm 2013-04-18 21:04:54 -07:00
Alon Zakai c0074e01ac setjmp support for asm.js 2013-04-18 20:54:22 -07:00
Alon Zakai 3cbdfcc318 Merge pull request #1038 from juj/fix_test_asm_pgo_windows
Fix test_asm_pgo on Windows.
2013-04-16 13:48:00 -07:00
Alon Zakai 6749401c21 use compiled i64 div and rem 2013-04-14 17:19:50 -07:00
Alon Zakai 84c58ecc4a use compiled compiler-rt code for i64 multiplication 2013-04-14 16:33:12 -07:00
Alon Zakai cb52c13b00 add option to move elements from post into before the asm block 2013-04-14 14:09:10 -07:00
Alon Zakai d18d12ccd3 asmify ctlz/cttz 2013-04-14 11:31:56 -07:00
Alon Zakai 90c4b12c0b add handwritten asm i64Subtract 2013-04-14 09:33:53 -07:00
Alon Zakai be558b3547 remove i64Math_add 2013-04-14 09:07:48 -07:00
Alon Zakai 9445eb9e23 remove unneeded i64Math.add import to asm 2013-04-13 22:28:59 -07:00
Alon Zakai 9e7a712c6b infrastructure for supporting exceptions in asm.js, by going through invoke_* calls 2013-04-11 21:18:37 -07:00
Joe Lee 1bea45e1d7 Don't trigger 1-core assert when there are no chunks to work on. 2013-04-12 10:24:58 +07:00
Alon Zakai 5ba4497c3b implement contents of invoke_* 2013-04-11 20:14:19 -07:00
Alon Zakai c259c46543 autogenerate invoke_* functions for asm 2013-04-11 20:03:13 -07:00