alexlamsl
|
0f2be1456c
|
Merge branch 'master' into harmony-v3.3.6
|
2018-01-13 13:53:31 +08:00 |
|
Alex Lam S.L
|
e49416e4aa
|
fix reduce_vars on AST_Accessor (#2776)
fixes #2774
|
2018-01-13 02:46:14 +08:00 |
|
Alex Lam S.L
|
b757450cd8
|
fix nested unused assignments (#2769)
fixes #2768
|
2018-01-11 23:13:44 +08:00 |
|
Alex Lam S.L
|
23ec484806
|
fix corner case in #2763 (#2766)
|
2018-01-11 21:18:08 +08:00 |
|
Alex Lam S.L
|
f1e1bb419a
|
join object assignments (#2763)
|
2018-01-11 17:08:21 +08:00 |
|
Alex Lam S.L
|
6a0af85c8b
|
skip only vars in if_return (#2759)
fixes #2747
|
2018-01-10 19:08:46 +08:00 |
|
Alex Lam S.L
|
09269be974
|
enhance conditionals (#2758)
`x ? y || z : z` --> `x && y || z`
|
2018-01-10 16:59:57 +08:00 |
|
Alex Lam S.L
|
2972d58dbb
|
patch variable declaractions extracted within catch (#2753)
fixes #2749
|
2018-01-09 13:54:35 +08:00 |
|
Alex Lam S.L
|
ce27bcd69a
|
compress loops with immediate break (#2746)
fixes #2740
|
2018-01-08 14:30:18 +08:00 |
|
alexlamsl
|
4b1799ecdd
|
disable reminify()
fix-up for #2708
|
2018-01-07 22:32:29 +08:00 |
|
alexlamsl
|
7a8eff62ca
|
Merge branch 'master' into harmony-v3.3.5
|
2018-01-07 20:35:53 +08:00 |
|
Alex Lam S.L
|
1ee8be8d91
|
fix recursive function inline (#2738)
fixes #2737
|
2018-01-07 15:31:24 +08:00 |
|
Alex Lam S.L
|
3564b4f20d
|
compress RegExp() in unsafe (#2735)
|
2018-01-06 21:04:47 +08:00 |
|
Alex Lam S.L
|
3505a3604a
|
enhance unsafe_proto (#2733)
|
2018-01-06 06:16:51 +08:00 |
|
Alex Lam S.L
|
b82feb9302
|
improve if_return (#2727)
|
2018-01-05 20:24:30 +08:00 |
|
Alex Lam S.L
|
7f2a591c7e
|
warn on deprecated features (#2726)
- `function.arguments`
- `function.callers`
fixes #2719
|
2018-01-05 19:36:02 +08:00 |
|
Alex Lam S.L
|
f76b5e0f43
|
fix hoist_props on const (#2724)
fixes #2710
|
2018-01-05 06:23:53 +08:00 |
|
Alex Lam S.L
|
484e484571
|
fix corner case in inline (#2720)
|
2018-01-04 23:38:37 +08:00 |
|
Alex Lam S.L
|
a6873a3859
|
forbid block-scoped AST_Defun in strict mode (#2718)
|
2018-01-04 18:45:51 +08:00 |
|
Alex Lam S.L
|
7a6d452b54
|
preserve constant modification under strict mode (#2717)
|
2018-01-04 15:53:53 +08:00 |
|
Alex Lam S.L
|
9b58b54e2d
|
extend inline (#2714)
- compress `function` with variables within loops
- restrict to `AST_Var` for better compatibility with ES6+
|
2018-01-04 12:58:40 +08:00 |
|
Alex Lam S.L
|
c598a12af9
|
apply collapse_vars to loop conditions (#2712)
|
2018-01-04 03:18:28 +08:00 |
|
Alex Lam S.L
|
cfe3a98ce5
|
drop unused assignment based on reduce_vars (#2709)
|
2018-01-04 01:03:33 +08:00 |
|
Alex Lam S.L
|
14778e049b
|
fix reduce_vars on AST_Defun (#2708)
|
2018-01-03 17:18:38 +08:00 |
|
Alex Lam S.L
|
7d3cddf9d6
|
inline functions with AST_Var (#2688)
|
2018-01-03 01:54:44 +08:00 |
|
Alex Lam S.L
|
6dead95eb3
|
enhance collapse_vars (#2704)
|
2018-01-02 18:42:15 +08:00 |
|
Alex Lam S.L
|
cc931b3ad8
|
enhance if_return (#2703)
|
2018-01-02 15:09:51 +08:00 |
|
Alex Lam S.L
|
ffc64e2279
|
mark AST_Var out of block scopes (#2700)
|
2018-01-02 01:37:59 +08:00 |
|
Alex Lam S.L
|
d838b4b52e
|
reset argument value within loop after inline (#2699)
|
2018-01-02 01:24:53 +08:00 |
|
Alex Lam S.L
|
2f3bddbaca
|
scan within IIFEs of assigned values (#2702)
fixes #2701
|
2018-01-02 01:24:23 +08:00 |
|
Alex Lam S.L
|
673b071637
|
enhance join_vars & sequences (#2697)
- nudge declarations without assignments
- within `AST_BlockStatement`
- across `AST_If`
|
2018-01-01 00:09:26 +08:00 |
|
Alex Lam S.L
|
da82fa59a7
|
fix inline on duplicate argument names (#2698)
|
2017-12-31 20:59:58 +08:00 |
|
Alex Lam S.L
|
333792352e
|
reduce hoisting declarations (#2687)
|
2017-12-31 16:15:00 +08:00 |
|
alexlamsl
|
3bbe839518
|
Merge branch 'master' into harmony-v3.3.4
|
2017-12-31 00:05:32 +08:00 |
|
Alex Lam S.L
|
ed7a0a454e
|
fix dead_code on escaped return assignment (#2693)
fixes #2692
|
2017-12-30 15:20:25 +08:00 |
|
Alex Lam S.L
|
d819559a01
|
minor clean-ups (#2686)
|
2017-12-29 14:04:52 +08:00 |
|
alexlamsl
|
7dea749f58
|
Merge branch 'master' into harmony-v3.3.3
|
2017-12-29 03:30:53 +08:00 |
|
Alex Lam S.L
|
b95e3338d9
|
fix pure_getters on AST_Binary (#2681)
fixes #2678
|
2017-12-28 17:01:01 +08:00 |
|
Alex Lam S.L
|
cb62bd98d3
|
fix function inlining within loops (#2675)
fixes #2663
|
2017-12-28 02:53:14 +08:00 |
|
Alex Lam S.L
|
9f7d1f7ac6
|
fix reduce_vars on AST_Destructuring (#2672)
fixes #2669
fixes #2670
fixes #2673
|
2017-12-27 16:30:57 +08:00 |
|
Alex Lam S.L
|
f30790b11b
|
fix dead_code on return assignments (#2668)
fixes #2666
|
2017-12-27 07:40:34 +08:00 |
|
Alex Lam S.L
|
5205dbcbf4
|
retain recursive function names (#2667)
fixes #2665
|
2017-12-27 07:00:12 +08:00 |
|
Alex Lam S.L
|
3ff625de7e
|
fix bugs on substituted AST_Defun (#2661)
fixes #2660
|
2017-12-27 05:31:37 +08:00 |
|
Alex Lam S.L
|
4832bc5d88
|
replace single-use recursive functions (#2659)
fixes #2628
|
2017-12-26 21:25:35 +08:00 |
|
Alex Lam S.L
|
7f342cb3e3
|
suppress inline within substituted AST_Scope (#2658)
fixes #2657
|
2017-12-26 18:56:59 +08:00 |
|
Alex Lam S.L
|
05e7d34ed4
|
improve unused over duplicate variable names (#2656)
|
2017-12-26 18:29:28 +08:00 |
|
alexlamsl
|
a3b8dec347
|
Merge branch 'master' into harmony-v3.3.1
|
2017-12-25 17:34:16 +08:00 |
|
Alex Lam S.L
|
49ce573971
|
handle non-ES5 node types in inline (#2648)
fixes #2647
|
2017-12-25 17:25:38 +08:00 |
|
Alex Lam S.L
|
1476c78b53
|
add html-minifier to benchmarks (#2646)
|
2017-12-25 03:07:46 +08:00 |
|
Alex Lam S.L
|
cb6a92892f
|
fix infinite loop during inline (#2645)
fixes #2644
|
2017-12-25 01:57:11 +08:00 |
|