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
3766d5c962
enhance unused ( #3839 )
2020-05-03 17:38:28 +08:00
Alex Lam S.L
e38754e802
fix corner case in functions & unused ( #3803 )
...
fixes #3802
2020-04-19 06:28:01 +08:00
Alex Lam S.L
f110601fb4
enhance unused ( #3800 )
2020-04-19 00:10:24 +08:00
Alex Lam S.L
fd6144d95b
enhance conditionals ( #3798 )
2020-04-18 22:32:22 +08:00
Alex Lam S.L
60d4e7b09f
enhance unused ( #3794 )
2020-04-18 18:52:44 +08:00
Alex Lam S.L
15a3ebd467
fix corner cases in join_vars ( #3787 )
...
fixes #3786
fixes #3788
2020-04-17 21:19:18 +08:00
Alex Lam S.L
0ce71bbec0
enhance join_vars ( #3783 )
2020-04-17 05:31:33 +08:00
Alex Lam S.L
421bb7083a
fix corner case in unused ( #3747 )
...
fixes #3746
2020-03-06 18:27:42 +00:00
Alex Lam S.L
83a42716c3
fix corner case in unused ( #3716 )
2020-02-12 23:46:16 +00:00
Alex Lam S.L
f5ceff6e4b
fix corner case in unused ( #3674 )
...
fixes #3673
2020-01-07 20:06:25 +08:00
Alex Lam S.L
746f5f6c62
fix corner case in unused ( #3665 )
...
fixes #3664
2020-01-01 20:24:30 +08:00
Alex Lam S.L
d83d3d741a
enhance unused ( #3662 )
2019-12-31 23:39:24 +08:00
Alex Lam S.L
a19d31dd33
fix corner case in unsafe ( #3646 )
2019-12-27 14:24:54 +00: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
67278e76c8
fix corner case in unused ( #3599 )
...
fixes #3598
2019-11-19 04:26:41 +08:00
Alex Lam S.L
4bd36dc8da
enhance unused ( #3584 )
2019-11-13 21:44:44 +08:00
Alex Lam S.L
f1eb03f2c0
enhance dead_code ( #3551 )
2019-10-30 06:34:54 +08:00
Alex Lam S.L
0f7aa41e33
fix corner case in collapse_vars ( #3521 )
...
fixes #3520
2019-10-24 01:13:57 +08:00
Alex Lam S.L
4240fba9b8
fix corner cases in unused ( #3519 )
2019-10-23 06:46:05 +08:00
Alex Lam S.L
267bc70d33
fix corner case in unused ( #3517 )
...
fixes #3515
2019-10-23 01:58:40 +08:00
Alex Lam S.L
0201cb4b52
fix corner case in unused ( #3499 )
...
fixes #3497
2019-10-18 20:08:05 +08:00
Alex Lam S.L
cd072317d0
fix corner case in unused ( #3496 )
...
fixes #3495
2019-10-18 17:09:43 +08:00
Alex Lam S.L
482e1baea3
enhance assignments & unused ( #3428 )
...
closes #3427
2019-05-29 01:21:08 +08:00
Alex Lam S.L
54cb678055
fix corner case in assignments ( #3407 )
...
fixes #3406
2019-05-12 03:52:46 +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
2ea96549c5
unify logging functionality ( #3392 )
...
fixes #3253
fixes #3254
2019-04-30 06:32:24 +08:00
Alex Lam S.L
a84beafd1b
fix corner case in assignments ( #3376 )
...
fixes #3375
2019-04-24 02:50:15 +08:00
Alex Lam S.L
694ca5d045
fix corner case in unused ( #3234 )
...
fixes #3233
2018-08-23 06:03:39 +08:00
alexlamsl
5ffc17d4aa
fix corner case in unused
2018-07-01 14:34:42 +08:00
Alex Lam S.L
766a4147d4
enhance arguments ( #3193 )
...
fixes #3192
2018-06-24 04:00:21 +08:00
Alex Lam S.L
24d9633a35
fix corner cases with eval() ( #3147 )
...
fixes #3146
2018-05-24 14:29:30 +08:00
Alex Lam S.L
5429234138
preserve non-constant value assignments with modifications ( #2997 )
...
fixes #2995
2018-03-13 17:35:34 +08:00
Alex Lam S.L
7fdd2082a6
drop unused "class" definition IIFEs ( #2923 )
...
fixes #805
2018-02-17 05:11:31 +08:00
Alex Lam S.L
193612ac67
fix accounting after conversion to assignment ( #2847 )
...
Missing reference to `AST_SymbolRef` created by `unused` causes `collapse_vars` to misbehave.
fixes #2846
2018-01-26 14:21:11 +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
cfe3a98ce5
drop unused assignment based on reduce_vars ( #2709 )
2018-01-04 01:03:33 +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
05e7d34ed4
improve unused over duplicate variable names ( #2656 )
2017-12-26 18:29:28 +08:00
Alex Lam S.L
ef618332ea
fold cascade functionality into collapse_vars ( #2586 )
2017-12-14 01:20:36 +08:00
Alex Lam S.L
0aff037a35
improve unused on assign-only symbols ( #2568 )
2017-12-09 06:19:29 +08:00
Alex Lam S.L
32def5ebf5
improve synergy between collapse_vars & unused ( #2521 )
2017-11-28 14:02:39 +08:00
Alex Lam S.L
ecc9f6b770
drop assignment in AST_VarDef.value ( #2522 )
...
fixes #2516
2017-11-28 13:08:40 +08:00
Alex Lam S.L
3c74047368
implement compress option reduce_funcs ( #2466 )
...
- inline single-use function declarations as expressions when permissible
- depend on `reduce_vars`
- enabled by default
- disable for speed critical code
fixes #2464
2017-11-11 05:59:35 +08:00
Alex Lam S.L
1127a2caf3
fix multiple nested function substitutions ( #2458 )
...
fixes #2449
2017-11-09 23:30:00 +08:00
Alex Lam S.L
5b4b07e9a7
extend function inlining safety checks ( #2430 )
2017-11-05 06:18:45 +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
e5cf7972ea
fix unused patching of AST_For.init blocks ( #2289 )
...
fixes #2288
2017-08-29 01:10:04 +08:00