aboutsummaryrefslogtreecommitdiff
path: root/test/compress/pure_getters.js
AgeCommit message (Expand)Author
2021-02-06enhance `compress` on arrow and `async` functions (#4616)Alex Lam S.L
2021-01-24fix corner cases in `collapse_vars` (#4591)...fixes #4590Alex Lam S.L
2020-12-24fix corner case in `pure_getters` (#4441)...fixes #4440Alex Lam S.L
2020-10-12support `const` (#4190)Alex Lam S.L
2019-10-22fix corner cases in `inline` (#3507)...fixes #3506Alex Lam S.L
2019-05-29enhance `assignments` & `unused` (#3428)...closes #3427Alex Lam S.L
2019-05-14enhance `side_effects` (#3410)Alex Lam S.L
2018-07-01fix corner case in `unused`alexlamsl
2018-02-28enhance `collapse_vars` (#2952)...- `a = b, b` => `a = b` - `a.b = c, c()` => `(a.b = c)()`Alex Lam S.L
2018-02-21more tests for #2938 (#2940)Alex Lam S.L
2018-02-20workaround `pure_getters=true` when dropping unused assignments (#2939)...fixes #2938Alex Lam S.L
2018-01-23drop assignments to constant expressions only (#2839)...fixes #2838Alex Lam S.L
2018-01-04preserve constant modification under strict mode (#2717)Alex Lam S.L
2017-12-28fix `pure_getters` on `AST_Binary` (#2681)...fixes #2678Alex Lam S.L
2017-12-14fold `cascade` functionality into `collapse_vars` (#2586)Alex Lam S.L
2017-11-11implement 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 #2464Alex Lam S.L
2017-09-16handle LHS side-effects on `cascade` & `collapse_vars` (#2314)...fixes #2313Alex Lam S.L
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)...fixes #2110Alex Lam S.L
2017-05-14fix bugs with getter/setter (#1926)...- `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 errorsAlex Lam S.L
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)...- 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`Alex Lam S.L