Alon Zakai
ad285f60d0
remove symbol removing hack; export all malloc symbols as weak; add test for a case where symbol removing made us not merge llvm constructors properly
2013-03-25 12:58:25 -07:00
Bruce Mitchener
09221ebd18
Get exceptions working as they were before.
...
This no longer uses headers from libcxxabi and
in fact uses libcxxabi a bit less than before.
This no longer lets some new C++11 stuff such as
exception_ptr work as the support for that relies
upon libcxxabi code.
2013-03-25 14:14:22 +07:00
Bruce Mitchener
ff1ba5d233
Bump version.
2013-03-25 00:34:37 +07:00
Bruce Mitchener
90338c69f7
Get things working with the new libcxx / libcxxabi.
2013-03-25 00:34:11 +07:00
Alon Zakai
b8aa8067c6
remove unneeded check from relooper
2013-03-23 13:44:52 -07:00
Alon Zakai
f99012f271
v1.3.2
2013-03-22 14:10:07 -07:00
Alon Zakai
bcbce47091
handle negative zero; fixes #921
2013-03-19 20:04:38 -07:00
Alon Zakai
10f6f6303c
v1.3.1
2013-03-18 18:48:20 -07:00
Alon Zakai
9642a5128f
check for utf and avoid the overhead if not necessary; remove UTF_STRING_SUPPORT
2013-03-18 15:07:17 -07:00
Alon Zakai
eb3a262803
get bindings generator to work in asm.js (except for customizeVTable)
2013-03-16 10:27:51 -07:00
Alon Zakai
314a0b90f1
mark UTF_STRING_SUPPORT as an unsafe but useful opt, in -O3
2013-03-15 17:10:22 -07:00
Alon Zakai
e77dae25c0
clean up spidermonkey entry in settings template
2013-03-14 10:30:58 -07:00
Alon Zakai
c02337ea0c
disable EMCC_DEBUG when bootstrapping relooper
2013-03-12 21:06:35 -07:00
Alon Zakai
072aaa9ee5
fix globalScope altering in runtimelink modules; fixes test_runtimelink
2013-03-12 14:56:01 -07:00
Alon Zakai
74fc756d57
add comments on ~/.emscripten file
2013-03-11 18:35:49 -07:00
Alon Zakai
c234f893b8
bump number of minified names
2013-03-11 11:51:46 -07:00
Alon Zakai
047052e533
1.3.0
2013-03-11 11:31:28 -07:00
Alon Zakai
a373820140
add 'progress' updates from multicore operations in emcc
2013-03-10 10:18:45 -07:00
Alon Zakai
1c25bb627b
use whitelist of lines to forward out of generated functions area
2013-03-10 10:03:06 -07:00
Alon Zakai
683c5b4508
move asm return adding test to right place
2013-03-09 20:45:59 -08:00
Alon Zakai
b5c3e1bda0
remove coercions on asm function calls that have no capturing variables
2013-03-09 20:22:33 -08:00
Alon Zakai
4794e95b9b
move addFinalReturns to simplyExpressionsPre so it runs even in -g
2013-03-09 19:36:05 -08:00
Alon Zakai
4d1e778aa7
optimize traverseGeneratedFunctions
2013-03-09 19:20:36 -08:00
Alon Zakai
b7093afaf4
do not wipe out everything after the generated functions suffix; fixes test_embind
2013-03-09 16:50:41 -08:00
Alon Zakai
0ecad78d55
remove limitations on minified names
2013-03-09 15:47:41 -08:00
Alon Zakai
4c95c34ca8
use minified names in registerize for locals
2013-03-09 15:37:49 -08:00
Alon Zakai
d3d2388517
refactor registerize global substitution
2013-03-09 14:07:05 -08:00
Alon Zakai
9f9be7e02e
compress asm shell
2013-03-09 13:30:46 -08:00
Alon Zakai
74a855a0d5
improve non-asm parsing of generated functions area to be identical in EMCC_DEBUG=1 and 2
2013-03-09 10:04:07 -08:00
Alon Zakai
a43d5b5a14
do not emit generated functions suffix when no longer needed
2013-03-09 09:28:54 -08:00
Alon Zakai
f1bbf0244b
save 0.0 in asm shell minification
2013-03-08 18:59:39 -08:00
Alon Zakai
0d0ce4f677
fix another name collision
2013-03-08 18:53:17 -08:00
Alon Zakai
e0fe8d85ed
fix temporary workaround for register names
2013-03-08 18:31:56 -08:00
Alon Zakai
de3c3ca816
for now, do not use rX as minified names, reserve that for registerize locals
2013-03-08 18:17:14 -08:00
Alon Zakai
0764a9d32f
increase number of minified names, and add func markers
2013-03-08 18:15:07 -08:00
Alon Zakai
6742048b4a
assertions on number of minified names
2013-03-08 18:14:47 -08:00
Alon Zakai
99a6455bff
properly scan all globals, including function names, before applying them
2013-03-08 18:02:57 -08:00
Alon Zakai
c65bba4e0d
remove unnecessary semicolon; hello world minifies
2013-03-08 17:45:58 -08:00
Alon Zakai
f086eaa9be
minify function names in function definitions
2013-03-08 17:45:39 -08:00
Alon Zakai
96f22dfe58
allow -O2 to also call registerize, but without minification of globals that we do in asm.js
2013-03-08 17:32:50 -08:00
Alon Zakai
8a7a96a56b
start to minify inside functions, using global data from previous pass
2013-03-08 17:30:58 -08:00
Alon Zakai
dac020142d
minify globals in a pass before the functions
2013-03-08 17:12:22 -08:00
Alon Zakai
b31addd3ab
split out asm shell in js optimizer, in preparation for minification of globals
2013-03-08 16:17:52 -08:00
Alon Zakai
50c7f9f00e
remove unneeded line
2013-03-08 15:58:28 -08:00
Alon Zakai
21804c07c7
add explicit markers in generated code of where functions and asm are
2013-03-08 15:29:39 -08:00
Alon Zakai
bdaddc1e00
disable minification
2013-03-08 14:24:04 -08:00
Alon Zakai
51bbcd6084
handle assigns into globals at the top of asm functions in normalizeAsm
2013-03-08 13:51:56 -08:00
Alon Zakai
52b9d04de8
fix global minifying
2013-03-08 12:23:18 -08:00
Alon Zakai
ca11fd78eb
initial work on asm.js minifier infrastructure
2013-03-08 12:04:34 -08:00
Alon Zakai
82ddb0715d
send only a marker of generated functions to js-optimizer.js; we either know the generated functions and send only them, or we don't know them and send all the code, in either case js-optimizer.js does not need a list of generated functions
2013-03-08 10:17:44 -08:00