Commit Graph

213 Commits

Author SHA1 Message Date
Alex Lam S.L
f4ae267920
fix corner case in reduce_vars (#5047)
fixes #5046
2021-07-04 13:45:09 +08:00
Alex Lam S.L
972b9f0bef
enhance functions & reduce_vars (#5045) 2021-07-04 06:19:08 +08:00
Alex Lam S.L
7621527a5f
fix corner case in functions (#5037)
fixes #5036
2021-06-25 03:43:52 +08:00
Alex Lam S.L
8b05677c15
fix corner case in collapse_vars (#5026)
fixes #5025
2021-06-23 05:03:11 +08:00
Alex Lam S.L
06e3dbc089
improve handling of declaration statements (#4980) 2021-05-30 16:32:48 +08:00
Alex Lam S.L
8cd95dd263
enhance awaits (#4971) 2021-05-28 08:47:37 +08:00
Alex Lam S.L
d464be3f3f
fix corner case in collapse_vars (#4911)
fixes #4910
2021-05-05 00:03:43 +08:00
Alex Lam S.L
3094eaaa89
fix corner case in collapse_vars (#4909)
fixes #4908
2021-05-04 16:33:52 +08:00
Alex Lam S.L
53b57ee57e
enhance reduce_vars & unused (#4890) 2021-05-02 00:19:56 +08:00
Alex Lam S.L
9b8deff64d
enhance pure_getters, reduce_vars & unused (#4863) 2021-04-24 07:17:30 +08:00
Alex Lam S.L
bddb5a0102
enhance unused (#4858) 2021-04-22 10:58:50 +08:00
Alex Lam S.L
39df3a1680
fix corner case in functions (#4824)
fixes #4823
2021-03-25 08:49:01 +08:00
Alex Lam S.L
2508481e33
fix corner case in evaluate (#4800)
fixes #4799
2021-03-18 11:31:20 +08:00
Alex Lam S.L
b244b4ec21
enhance "functions" (#4791) 2021-03-17 05:38:33 +08:00
Alex Lam S.L
9a9543013c
fix corner case in functions (#4789)
fixes #4788
2021-03-16 20:58:51 +08:00
Alex Lam S.L
352a944868
fix corner cases with new.target (#4784) 2021-03-16 14:34:36 +08:00
Alex Lam S.L
077512d151
fix corner case in inline (#4754)
fixes #4753
2021-03-08 12:38:53 +08:00
Alex Lam S.L
c7520b4b97
support new.target (#4746)
fixes #4745
2021-03-07 07:11:36 +08:00
Alex Lam S.L
dd30ed6a9b
enhance collapse_vars (#4735) 2021-03-05 13:18:01 +08:00
Alex Lam S.L
10ca578ee5
fix corner case in inline (#4726)
fixes #4725
2021-03-03 09:18:02 +08:00
Alex Lam S.L
ac26993b5a
fix corner cases with block-scoped functions (#4695) 2021-02-27 04:16:14 +08:00
Alex Lam S.L
c885660347
support nullish coalescing operator (#4678) 2021-02-24 05:57:11 +08:00
Alex Lam S.L
a7bcd4d613
fix corner case in inline (#4660)
fixes #4659
2021-02-18 16:15:44 +08:00
Alex Lam S.L
6a2bda52f3
workaround bug in ECMAScript specification (#4656)
closes #4655
2021-02-16 23:39:06 +08:00
Alex Lam S.L
a6bb66931b
improve fix for #4325 (#4649) 2021-02-14 02:24:57 +08:00
Alex Lam S.L
da24dfb59e
fix corner cases with function inlining (#4613)
fixes #4612
2021-02-05 04:49:37 +08:00
Alex Lam S.L
0417a69c3e
enhance collapse_vars & dead_code (#4491) 2021-01-01 21:52:14 +08:00
Alex Lam S.L
28bcdbd7df
fix corner case in inline (#4472)
fixes #4471
2020-12-28 10:05:59 +08:00
Alex Lam S.L
b2f27fd873
fix corner case in functions & reduce_vars (#4452)
fixes #4451
2020-12-25 08:38:24 +08:00
Alex Lam S.L
6988cd9558
replace keep_fargs default to false (#4443) 2020-12-24 09:56:02 +08:00
Alex Lam S.L
9eb65f3af3
extend trailing comma support (#4334) 2020-12-07 10:07:34 +08:00
Alex Lam S.L
9d34f8428b
fix corner case in side_effects (#4326)
fixes #4325
2020-11-29 10:05:48 +08:00
Alex Lam S.L
cf120c7cea
fix corner case in merge_vars & reduce_vars (#4313)
fixes #4312
2020-11-21 08:57:59 +08:00
Alex Lam S.L
810cd40356
fix corner case in inline (#4266)
fixes #4265
2020-11-08 18:50:08 +08:00
Alex Lam S.L
4bbeb09f7c
fix corner case in reduce_vars (#4262)
fixes #4261
2020-11-07 10:00:04 +08:00
Alex Lam S.L
c2f6fd5fde
fix corner case in functions (#4260)
fixes #4259
2020-11-06 03:55:25 +08:00
Alex Lam S.L
23ca7d675f
fix corner case in functions (#4234)
fixes #4233
2020-10-22 10:13:11 +08:00
Alex Lam S.L
bc6e105174
fix corner case in ie8 (#4187)
fixes #4186
2020-10-06 09:20:41 +08:00
Alex Lam S.L
8f0521d51d
retrofit try-catch-finally as block-scoped (#4178)
- support optional catch binding
2020-10-05 05:30:14 +08:00
Alex Lam S.L
95ef4d5377
fix corner case in mangle (#4174) 2020-10-04 08:24:41 +08:00
Alex Lam S.L
142bd1bd1a
workaround quirks on latter specs (#4172)
closes #4171
2020-10-03 18:27:17 +08:00
Alex Lam S.L
baf4903aa7
fix corner cases of catch variable inlining (#4169) 2020-10-03 07:02:28 +08:00
Alex Lam S.L
090ee895e1
enhance inline (#4163) 2020-09-30 21:03:28 +08:00
Alex Lam S.L
1d835ac17d
fix corner case in inline (#4160)
fixes #4159
2020-09-29 07:01:38 +08:00
Alex Lam S.L
b4ff6d0f2d
fix corner cases in functions & merge_vars (#4156)
fixes #4155
2020-09-26 15:31:33 +08:00
alexlamsl
8c670cae93 enhance unused 2020-09-22 07:48:55 +08:00
Alex Lam S.L
980fcbb56b
enhance unused (#4090) 2020-09-03 17:41:33 +08:00
Alex Lam S.L
3bf8699f95
fix corner case in inline (#4007)
fixes #4006
2020-06-29 09:06:23 +08:00
Alex Lam S.L
b24eb22c6b
enhance reduce_vars (#3942) 2020-06-01 20:55:23 +08:00
Alex Lam S.L
d47ea77811
fix corner case in functions (#3930)
fixes #3929
2020-05-28 20:07:36 +08:00
Alex Lam S.L
aeb9ea5ac2
fix corner case in inline (#3915)
fixes #3911
2020-05-21 22:05:31 +08:00
Alex Lam S.L
e23bf48052
enhance evaluate & reduce_vars (#3873) 2020-05-11 03:08:05 +08:00
Alex Lam S.L
88985a46ed
fix corner case in inline (#3853)
fixes #3852
2020-05-07 20:53:05 +08:00
Alex Lam S.L
0794aaa2c2
fix corner case in inline (#3837)
fixes #3836
2020-05-01 17:20:23 +08:00
Alex Lam S.L
74801de315
fix corner cases in inline (#3834)
fixes #3833
fixes #3835
2020-05-01 09:06:40 +08:00
Alex Lam S.L
f80d5b8c9e
enhance inline (#3832) 2020-05-01 04:33:46 +08:00
Alex Lam S.L
a4a8ccea8c
fix corner case in inline (#3822)
fixes #3821
2020-04-27 03:31:19 +08:00
Alex Lam S.L
903a5df9a5
fix corner case in inline (#3778)
fixes #3777
2020-04-11 19:54:26 +08:00
Alex Lam S.L
a2b16e89a4
fix corner cases in inline (#3773)
fixes #3770
fixes #3771
fixes #3772
2020-04-11 00:34:45 +08:00
Alex Lam S.L
b35f4c5a83
enhance inline (#3767) 2020-04-10 10:48:24 +08:00
Alex Lam S.L
1b07f64057
enhance inline (#3760) 2020-04-05 10:42:23 +08:00
Alex Lam S.L
83a42716c3
fix corner case in unused (#3716) 2020-02-12 23:46:16 +00:00
Alex Lam S.L
a478f275e4
enhance sequences (#3693) 2020-01-28 09:58:01 +08:00
Alex Lam S.L
46caaa82ba
enhance collapse_vars (#3680)
closes #3679
2020-01-10 04:28:43 +08:00
Alex Lam S.L
d83d3d741a
enhance unused (#3662) 2019-12-31 23:39:24 +08:00
Alex Lam S.L
4dbdac9c31
enhance booleans (#3657) 2019-12-30 22:41:11 +08:00
Alex Lam S.L
9a6faf365b
fix corner cases in keep_fargs & unused (#3618) 2019-12-02 06:43:54 +08:00
Alex Lam S.L
e915832a36
enhance unused (#3617) 2019-12-01 18:10:37 +08:00
Alex Lam S.L
1283d73853
fix corner case in parsing directives (#3615) 2019-11-29 18:57:29 +08:00
Alex Lam S.L
e27493f3c2
fix corner case in inline (#3608) 2019-11-27 14:54:36 +08:00
Alex Lam S.L
6768e6578f
inline functions with directives more effectively (#3604) 2019-11-26 01:51:04 +08:00
Alex Lam S.L
4e06e1ca34
fix corner case in inline (#3595) 2019-11-18 15:04:55 +08:00
Alex Lam S.L
8504a4ea0e
fix corner case in reduce_funcs (#3592) 2019-11-17 11:19:42 +08:00
Alex Lam S.L
4bd36dc8da
enhance unused (#3584) 2019-11-13 21:44:44 +08:00
Alex Lam S.L
d6fd18d0b0
enhance evaluate & inline (#3580) 2019-11-13 04:17:09 +08:00
Alex Lam S.L
dcbf2236c7
more tests for #3562 (#3565) 2019-11-02 03:34:20 +08:00
Alex Lam S.L
a53ab99378
fix corner case in side_effects (#3514)
fixes #3512
2019-10-23 01:04:00 +08:00
Alex Lam S.L
0b3705e82f
fix corner cases in inline (#3507)
fixes #3506
2019-10-22 15:41:55 +08:00
Alex Lam S.L
d3d1d11926
fix corner case in ie8 & rename (#3474)
fixes #3473
2019-10-15 07:27:02 +08:00
Alex Lam S.L
35338a100f
handle function/variable name collisions correctly (#3451)
fixes #3439
2019-10-06 08:51:38 +08:00
Alex Lam S.L
a31c477fea
fix variable scope determination (#3449)
fixes #3444
2019-10-06 05:13:44 +08:00
Alex Lam S.L
9fc8cd4076
fix corner case in functions (#3403)
fixes #3402
2019-05-11 18:55:45 +08:00
Alex Lam S.L
5476cb8f05
fix corner case in inline (#3401)
fixes #3400
2019-05-10 01:22:44 +08:00
Alex Lam S.L
f01cc1e413
unwind IIFE class patterns (#3373)
fixes #2332
2019-04-21 09:49:07 +08:00
Alex Lam S.L
c719552317
fix corner cases in functions (#3372)
fixes #3371
2019-04-21 02:16:05 +08:00
Alex Lam S.L
00833e893a
enhance functions (#3368) 2019-04-19 19:01:47 +08:00
Alex Lam S.L
b55a2fd531
fix corner case in functions (#3367)
fixes #3366
2019-04-19 02:55:43 +08:00
Alex Lam S.L
e8a2c0b5bf
fix corner case in functions (#3365)
fixes #3364
2019-04-18 17:03:52 +08:00
Alex Lam S.L
5172ba5f2a
introduce functions (#3360)
`var f = function() {};` => `function f() {}`
2019-04-15 22:23:11 +08:00
Alex Lam S.L
54b0b49b68
enhance inline (#3352) 2019-03-21 02:58:33 +08:00
Alex Lam S.L
615ae37ca3
introduce assignments (#3345) 2019-03-18 21:28:41 +08:00
Alex Lam S.L
4430a436eb
fix corner case in inline (#3343) 2019-03-17 05:31:40 +08:00
Alex Lam S.L
8d2e6f333e
fix function inlining after reduce_vars (#3340)
fixes #3297
2019-03-15 05:45:46 +08:00
Alex Lam S.L
ebd82b3fb6
fix corner case in collapse_vars (#3334)
fixes #3274
2019-03-14 16:05:56 +08:00
Alex Lam S.L
fc78423f1d
clean up webkit quirks (#3229) 2018-08-08 16:15:45 +08:00
alexlamsl
5ffc17d4aa fix corner case in unused 2018-07-01 14:34:42 +08:00
Alex Lam S.L
76df77c08c
implement directives (#3203)
fixes #3166
2018-06-28 18:16:49 +08:00
Alex Lam S.L
9e19e63551
general clean-ups (#3175) 2018-06-06 17:50:56 +08:00
Alex Lam S.L
df8a99439a
fix various corner cases (#3126)
- augment ufuzz/reminify test options

fixes #3125
2018-05-07 07:36:25 +08:00
Alex Lam S.L
6a916523d4
fix inline of catch-scoped variables (#3077)
fixes #3076
2018-04-11 15:44:43 +08:00