Alex Lam S.L
|
011123223b
|
fix unsafe escape analysis in reduce_vars (#2387)
|
2017-10-22 03:23:31 +08:00 |
|
Alex Lam S.L
|
44352eb26a
|
harmony-v3.1.5
harmony-v3.1.5
|
2017-10-22 01:49:55 +08:00 |
|
alexlamsl
|
9f1c72ae28
|
update test
Sub-optimal result due to block scope.
|
2017-10-22 00:38:16 +08:00 |
|
alexlamsl
|
c60fa67827
|
Merge branch 'master' into harmony-v3.1.5
|
2017-10-22 00:35:00 +08:00 |
|
Alex Lam S.L
|
96439ca246
|
v3.1.5
v3.1.5
|
2017-10-22 00:27:26 +08:00 |
|
Thomas Sauer
|
f9c57dfee0
|
Allow 'yield' as method name (#2382)
fixes #2381
|
2017-10-21 14:22:39 +08:00 |
|
Alex Lam S.L
|
c927cea632
|
unsafe fix-ups for #2351 (#2379)
|
2017-10-21 04:08:26 +08:00 |
|
Alex Lam S.L
|
9f4b98f8e4
|
backport #2374 (#2376)
|
2017-10-19 23:02:27 +08:00 |
|
Alex Lam S.L
|
0f2ef3367c
|
enhance collapse_vars around lazy operations (#2369)
|
2017-10-19 04:52:00 +08:00 |
|
kzc
|
6bf5fea008
|
option formatting in docs (#2374)
- reintroduce compress documentation for keep_fnames and unsafe_methods
- reintroduce keep_fnames in mangle option docs
- order compress & mangle options
|
2017-10-18 05:23:53 +08:00 |
|
Alex Lam S.L
|
7e5b5cac97
|
fix AST_PropAccess in collapse_vars (take 3) (#2375)
Suppress scanning beyond assignment to `a.b`
|
2017-10-18 02:54:51 +08:00 |
|
Alex Lam S.L
|
c1346e06b7
|
clean up lazy operator detection (#2373)
|
2017-10-17 23:25:45 +08:00 |
|
Alex Lam S.L
|
0d2fe8e3ef
|
fix AST_PropAccess in collapse_vars (take 2) (#2372)
fixes #2364
|
2017-10-17 22:59:15 +08:00 |
|
Alex Lam S.L
|
f2b9c11e2a
|
fix AST_PropAccess in collapse_vars (#2370)
fixes #2364
|
2017-10-17 18:33:03 +08:00 |
|
Alex Lam S.L
|
b6a7ca292e
|
deduplicate AST_Super & AST_This logic (#2366)
|
2017-10-17 04:19:53 +08:00 |
|
Alex Lam S.L
|
fe647b083e
|
account for side-effects from AST_This in collapse_vars (#2365)
|
2017-10-17 01:18:55 +08:00 |
|
Alex Lam S.L
|
a89f126db6
|
harmony-v3.1.4
harmony-v3.1.4
|
2017-10-16 14:28:28 +08:00 |
|
alexlamsl
|
d8ee2de95c
|
adjust tests for #2351
|
2017-10-16 13:24:50 +08:00 |
|
alexlamsl
|
58a5608b66
|
Merge branch 'master' into harmony-v3.1.4
|
2017-10-16 12:32:50 +08:00 |
|
kzc
|
f496ac5c85
|
implement compress option computed_props (#2361)
transforms `{["computed"]: 1}` into `{computed: 1}`
|
2017-10-16 11:35:04 +08:00 |
|
Alex Lam S.L
|
dfe4f6c6de
|
v3.1.4
v3.1.4
|
2017-10-16 02:44:17 +08:00 |
|
Alex Lam S.L
|
a09c8ad666
|
update dependency (#2362)
- source-map@0.6.1
|
2017-10-16 02:41:22 +08:00 |
|
Alex Lam S.L
|
ec598c351b
|
fix-ups for #2356 (#2360)
|
2017-10-15 22:33:55 +08:00 |
|
kzc
|
f79f737fb2
|
fix mangle of destructuring parameters with computed properties (#2359)
fixes #2349
|
2017-10-15 20:59:52 +08:00 |
|
Alex Lam S.L
|
eba0f93bc0
|
more tests for #2351 (#2357)
|
2017-10-12 02:58:25 +08:00 |
|
Roger Peppe
|
99800d4aa9
|
update README to include defaults (#2356)
fixes #2353
|
2017-10-12 02:56:02 +08:00 |
|
Tim Malone
|
70d56c951a
|
Update README.md - sourceMappingURL directive note (#2355)
Moves this README note to underneath the 'url' rather than 'root' option.
|
2017-10-11 19:48:43 +08:00 |
|
Alex Lam S.L
|
b810e2f8da
|
perform reduce_vars on safe literals (#2351)
- constant expression
- single reference
- same scope
- not across loop body
|
2017-10-09 12:25:06 +08:00 |
|
Alex Lam S.L
|
1abe14296e
|
collapse a.b whenever safe (#2350)
|
2017-10-08 13:17:48 +08:00 |
|
kzc
|
336b1add4f
|
fix unsafe join() on array literal with spread (#2347)
fixes #2345
|
2017-10-06 00:57:00 +08:00 |
|
Alex Lam S.L
|
873755b35c
|
harmony-v3.1.3
harmony-v3.1.3
|
2017-10-01 14:41:52 +08:00 |
|
alexlamsl
|
744032755d
|
add tests for #2336 & #2337
|
2017-10-01 13:20:17 +08:00 |
|
alexlamsl
|
4fac8076b8
|
Merge branch 'master' into harmony-v3.1.3
|
2017-10-01 12:42:40 +08:00 |
|
Alex Lam S.L
|
6920e898d1
|
v3.1.3
v3.1.3
|
2017-10-01 12:36:07 +08:00 |
|
Alex Lam S.L
|
dd71639264
|
enhance reduce_vars for AST_Accessor (#2339)
fixes #2336
|
2017-10-01 03:01:50 +08:00 |
|
Alex Lam S.L
|
2dcc552ce0
|
trap invalid use of reserved words (#2338)
fixes #2337
|
2017-10-01 02:10:41 +08:00 |
|
kzc
|
a020d2ead3
|
support dynamic import(), trap invalid use of export (#2335)
|
2017-09-28 18:43:09 +08:00 |
|
Alex Lam S.L
|
68645b28d3
|
harmony-v3.1.2
harmony-v3.1.2
|
2017-09-24 11:13:25 +08:00 |
|
alexlamsl
|
aaa8212837
|
improve test for #2316
|
2017-09-24 02:23:38 +08:00 |
|
alexlamsl
|
bd84007cf4
|
Merge branch 'master' into harmony-v3.1.2
|
2017-09-24 02:20:47 +08:00 |
|
Alex Lam S.L
|
55387e8fd0
|
v3.1.2
v3.1.2
|
2017-09-24 02:02:04 +08:00 |
|
GUENEGO Jean-Louis
|
1241600013
|
mangle: do not mangle reserved class (#2317)
fixes #2316
|
2017-09-24 00:08:47 +08:00 |
|
kzc
|
7e3e9da860
|
fix "use asm" numeric output (#2328)
fixes #2324
|
2017-09-21 04:42:40 +08:00 |
|
kzc
|
a784717fe2
|
allow RegExp for unsafe_methods compress option (#2327)
|
2017-09-21 00:48:16 +08:00 |
|
Alex Lam S.L
|
00f509405b
|
suppress collapse_vars of this into "use strict" (#2326)
fixes #2319
|
2017-09-20 05:23:20 +08:00 |
|
kzc
|
e8235657e4
|
add new compress option unsafe_methods for ecma >= 6 (#2325)
fixes #2321
|
2017-09-20 00:15:54 +08:00 |
|
Alex Lam S.L
|
c46b9f361a
|
harmony-v3.1.1
harmony-v3.1.1
|
2017-09-17 15:33:55 +08:00 |
|
alexlamsl
|
3b0b4d6abf
|
handle AST_Super in collapse_vars & side_effects
|
2017-09-17 05:09:36 +08:00 |
|
alexlamsl
|
d73500e8d1
|
Merge branch 'master' into harmony-v3.1.1
|
2017-09-17 04:43:43 +08:00 |
|
Alex Lam S.L
|
aceb0af36b
|
v3.1.1
v3.1.1
|
2017-09-17 04:36:27 +08:00 |
|