aboutsummaryrefslogtreecommitdiff
path: root/test/compress/pure_getters.js
AgeCommit message (Collapse)Author
2019-10-22fix corner cases in `inline` (#3507)Alex Lam S.L
fixes #3506
2019-05-29enhance `assignments` & `unused` (#3428)Alex Lam S.L
closes #3427
2019-05-14enhance `side_effects` (#3410)Alex Lam S.L
2018-07-01fix corner case in `unused`alexlamsl
2018-02-28enhance `collapse_vars` (#2952)Alex Lam S.L
- `a = b, b` => `a = b` - `a.b = c, c()` => `(a.b = c)()`
2018-02-21more tests for #2938 (#2940)Alex Lam S.L
2018-02-20workaround `pure_getters=true` when dropping unused assignments (#2939)Alex Lam S.L
fixes #2938
2018-01-23drop assignments to constant expressions only (#2839)Alex Lam S.L
fixes #2838
2018-01-04preserve constant modification under strict mode (#2717)Alex Lam S.L
2017-12-28fix `pure_getters` on `AST_Binary` (#2681)Alex Lam S.L
fixes #2678
2017-12-14fold `cascade` functionality into `collapse_vars` (#2586)Alex Lam S.L
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-09-16handle LHS side-effects on `cascade` & `collapse_vars` (#2314)Alex Lam S.L
fixes #2313
2017-06-25more tests for #2158 (#2160)Alex Lam S.L
2017-06-24fix `cascade` & `collapse` on property access of constants (#2158)Alex Lam S.L
2017-06-16fix loss of context in `collapse_vars` & `cascade` (#2112)Alex Lam S.L
fixes #2110
2017-05-14fix bugs with getter/setter (#1926)Alex Lam S.L
- `reduce_vars` - `side_effects` - property access for object - `AST_SymbolAccessor` as key names enhance `test/ufuzz.js` - add object getter & setter - property assignment to setter - avoid infinite recursion in setter - fix & adjust assignment operators - 50% `=` - 25% `+=` - 2.5% each for the rest - avoid "Invalid array length" - fix `console.log()` - bypass getter - curb recursive reference - deprecate `-E`, always report runtime errors
2017-04-07fix `pure_getters` for chained property access (#1798)Alex Lam S.L
2017-04-07introduce "strict" to `pure_getters` (#1795)Alex Lam S.L
2017-04-06improve `pure_getters` (#1786)Alex Lam S.L
- property access to `null` & `undefined` always has side effects - utilise `reduce_vars` to determine safe property access - may-be cases treated as side effects unless `unsafe`