aboutsummaryrefslogtreecommitdiff
path: root/test/compress/drop-unused.js
AgeCommit message (Collapse)Author
2020-02-12fix corner case in `unused` (#3716)Alex Lam S.L
2020-01-07fix corner case in `unused` (#3674)Alex Lam S.L
fixes #3673
2020-01-01fix corner case in `unused` (#3665)Alex Lam S.L
fixes #3664
2019-12-31enhance `unused` (#3662)Alex Lam S.L
2019-12-27fix corner case in `unsafe` (#3646)Alex Lam S.L
2019-12-02fix corner cases in `keep_fargs` & `unused` (#3618)Alex Lam S.L
2019-12-01enhance `unused` (#3617)Alex Lam S.L
2019-11-19fix corner case in `unused` (#3599)Alex Lam S.L
fixes #3598
2019-11-13enhance `unused` (#3584)Alex Lam S.L
2019-10-30enhance `dead_code` (#3551)Alex Lam S.L
2019-10-24fix corner case in `collapse_vars` (#3521)Alex Lam S.L
fixes #3520
2019-10-23fix corner cases in `unused` (#3519)Alex Lam S.L
2019-10-23fix corner case in `unused` (#3517)Alex Lam S.L
fixes #3515
2019-10-18fix corner case in `unused` (#3499)Alex Lam S.L
fixes #3497
2019-10-18fix corner case in `unused` (#3496)Alex Lam S.L
fixes #3495
2019-05-29enhance `assignments` & `unused` (#3428)Alex Lam S.L
closes #3427
2019-05-12fix corner case in `assignments` (#3407)Alex Lam S.L
fixes #3406
2019-05-10fix corner case in `inline` (#3401)Alex Lam S.L
fixes #3400
2019-04-30unify logging functionality (#3392)Alex Lam S.L
fixes #3253 fixes #3254
2019-04-24fix corner case in `assignments` (#3376)Alex Lam S.L
fixes #3375
2018-08-23fix corner case in `unused` (#3234)Alex Lam S.L
fixes #3233
2018-07-01fix corner case in `unused`alexlamsl
2018-06-24enhance `arguments` (#3193)Alex Lam S.L
fixes #3192
2018-05-24fix corner cases with `eval()` (#3147)Alex Lam S.L
fixes #3146
2018-03-13preserve non-constant value assignments with modifications (#2997)Alex Lam S.L
fixes #2995
2018-02-17drop unused "class" definition IIFEs (#2923)Alex Lam S.L
fixes #805
2018-01-26fix accounting after conversion to assignment (#2847)Alex Lam S.L
Missing reference to `AST_SymbolRef` created by `unused` causes `collapse_vars` to misbehave. fixes #2846
2018-01-11fix nested `unused` assignments (#2769)Alex Lam S.L
fixes #2768
2018-01-04drop `unused` assignment based on `reduce_vars` (#2709)Alex Lam S.L
2017-12-27retain recursive function names (#2667)Alex Lam S.L
fixes #2665
2017-12-27fix bugs on substituted `AST_Defun` (#2661)Alex Lam S.L
fixes #2660
2017-12-26improve `unused` over duplicate variable names (#2656)Alex Lam S.L
2017-12-14fold `cascade` functionality into `collapse_vars` (#2586)Alex Lam S.L
2017-12-09improve `unused` on assign-only symbols (#2568)Alex Lam S.L
2017-11-28improve synergy between `collapse_vars` & `unused` (#2521)Alex Lam S.L
2017-11-28drop assignment in `AST_VarDef.value` (#2522)Alex Lam S.L
fixes #2516
2017-11-11implement compress option `reduce_funcs` (#2466)Alex Lam S.L
- 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-09fix multiple nested function substitutions (#2458)Alex Lam S.L
fixes #2449
2017-11-05extend function inlining safety checks (#2430)Alex Lam S.L
2017-10-09perform `reduce_vars` on safe literals (#2351)Alex Lam S.L
- constant expression - single reference - same scope - not across loop body
2017-08-29fix `unused` patching of `AST_For.init` blocks (#2289)Alex Lam S.L
fixes #2288
2017-07-14drop `unused` compound assignments (#2230)Alex Lam S.L
fixes #2226
2017-07-02drop argument value after `collapse_vars` (#2190)Alex Lam S.L
2017-07-02improve `inline` efficiency (#2188)Alex Lam S.L
... by teaching `collapse_vars` some new tricks. fixes #2187
2017-06-16enforce `inline` scope restriction (#2106)Alex Lam S.L
fixes #2105
2017-06-04fix `AST_Function` scope invariance (#2052)Alex Lam S.L
improve function name hack in `run_code()`
2017-05-12remove support for `const` (#1910)Alex Lam S.L
As this is not part of ES5.
2017-05-12fix invalid transform on `const` (#1919)Alex Lam S.L
- preserve (re)assignment to `const` for runtime error - suppress `cascade` on `const`, as runtime behaviour is ill-defined
2017-05-06enhance `collapse_vars` (#1862)Alex Lam S.L
- extend expression types - `a++` - `a=x;` - extend scan range - `for(init;;);` - `switch(expr){case expr:}` - `a = x; a = a || y;` - terminate upon `debugger;` closes #1821 fixes #27 fixes #315 fixes #1858
2017-04-23fix `AST_For.init` patch-up in `drop_unused()` (#1839)Alex Lam S.L
fixes #1838