aboutsummaryrefslogtreecommitdiff
path: root/test/compress/functions.js
AgeCommit message (Collapse)Author
2019-04-21fix corner cases in `functions` (#3372)Alex Lam S.L
fixes #3371
2019-04-19enhance `functions` (#3368)Alex Lam S.L
2019-04-19fix corner case in `functions` (#3367)Alex Lam S.L
fixes #3366
2019-04-18fix corner case in `functions` (#3365)Alex Lam S.L
fixes #3364
2019-04-15introduce `functions` (#3360)Alex Lam S.L
`var f = function() {};` => `function f() {}`
2019-03-21enhance `inline` (#3352)Alex Lam S.L
2019-03-18introduce `assignments` (#3345)Alex Lam S.L
2019-03-17fix corner case in `inline` (#3343)Alex Lam S.L
2019-03-15fix function inlining after `reduce_vars` (#3340)Alex Lam S.L
fixes #3297
2019-03-14fix corner case in `collapse_vars` (#3334)Alex Lam S.L
fixes #3274
2018-08-08clean up webkit quirks (#3229)Alex Lam S.L
2018-07-01fix corner case in `unused`alexlamsl
2018-06-28implement `directives` (#3203)Alex Lam S.L
fixes #3166
2018-06-06general clean-ups (#3175)Alex Lam S.L
2018-05-07fix various corner cases (#3126)Alex Lam S.L
- augment ufuzz/reminify test options fixes #3125
2018-04-11fix `inline` of `catch`-scoped variables (#3077)Alex Lam S.L
fixes #3076
2018-04-06fix AST corruption during `inline` of simple `return` (#3056)Alex Lam S.L
fixes #3054
2018-03-23fix nested `inline` within loop (#3019)Alex Lam S.L
fixes #3018
2018-03-22fix corner case in `inline` (#3017)Alex Lam S.L
fixes #3016
2018-02-26drop lone "use strict" in function body (#2963)Alex Lam S.L
fixes #2961
2018-02-25deduplicate parenthesis around object and function literals (#2953)Alex Lam S.L
2018-02-17improve `inline` efficiency (#2924)Alex Lam S.L
2018-02-13collapse within unary expressions (#2910)Alex Lam S.L
2018-02-09fix AST corruption due to `collapse_vars` & `inline` (#2899)Alex Lam S.L
fixes #2898
2018-01-19enable `unsafe` for `test/ufuzz.js` (#2819)Alex Lam S.L
- introduce `unsafe_undefined` - safer `.toString()` compression Miscellaneous - rename `unsafe_Function`
2018-01-15avoid double counting within single-use functions (#2785)Alex Lam S.L
fixes #2783
2018-01-07fix recursive function `inline` (#2738)Alex Lam S.L
fixes #2737
2018-01-04fix corner case in `inline` (#2720)Alex Lam S.L
2018-01-04forbid block-scoped `AST_Defun` in strict mode (#2718)Alex Lam S.L
2018-01-04extend `inline` (#2714)Alex Lam S.L
- compress `function` with variables within loops - restrict to `AST_Var` for better compatibility with ES6+
2018-01-04apply `collapse_vars` to loop conditions (#2712)Alex Lam S.L
2018-01-03inline functions with `AST_Var` (#2688)Alex Lam S.L
2018-01-02enhance `collapse_vars` (#2704)Alex Lam S.L
2018-01-02reset argument value within loop after `inline` (#2699)Alex Lam S.L
2018-01-01enhance `join_vars` & `sequences` (#2697)Alex Lam S.L
- nudge declarations without assignments - within `AST_BlockStatement` - across `AST_If`
2017-12-31fix `inline` on duplicate argument names (#2698)Alex Lam S.L
2017-12-28fix function inlining within loops (#2675)Alex Lam S.L
fixes #2663
2017-12-26replace single-use recursive functions (#2659)Alex Lam S.L
fixes #2628
2017-12-26suppress `inline` within substituted `AST_Scope` (#2658)Alex Lam S.L
fixes #2657
2017-12-25fix infinite loop during `inline` (#2645)Alex Lam S.L
fixes #2644
2017-12-24fix corner cases with `collapse_vars`, `inline` & `reduce_vars` (#2637)Alex Lam S.L
fixes #2630
2017-12-20avoid `inline` of function with special argument names (#2625)Alex Lam S.L
2017-12-19fix `inline` after single-use `reduce_vars` (#2623)Alex Lam S.L
2017-12-19add test for #2613 (#2618)Alex Lam S.L
2017-12-19handle global constant collision with local variable after `inline` (#2617)Alex Lam S.L
fixes #2616
2017-12-18compress `apply()` & `call()` of `function` (#2613)Alex Lam S.L
- `fn.apply(a, [ ... ])` => `fn.call(a, ...)` - `fn.call(a, ... )` => `a, fn(...)` where `fn` can be `function` literal or symbol reference linked through `reduce_vars`
2017-12-16account for `catch` variable when `inline` (#2605)Alex Lam S.L
fixes #2604
2017-12-16fix nested `inline` (#2602)Alex Lam S.L
fixes #2601
2017-12-15handle `inline` of function arguments (#2590)Alex Lam S.L
fixes #2476
2017-12-14inline single-use `function` across loop (#2594)Alex Lam S.L