Age | Commit message (Expand) | Author |
---|---|---|
2018-01-04 | extend `inline` (#2714)...- compress `function` with variables within loops - restrict to `AST_Var` for better compatibility with ES6+ | Alex Lam S.L |
2018-01-04 | apply `collapse_vars` to loop conditions (#2712) | Alex Lam S.L |
2018-01-04 | drop `unused` assignment based on `reduce_vars` (#2709) | Alex Lam S.L |
2018-01-03 | fix `reduce_vars` on `AST_Defun` (#2708) | Alex Lam S.L |
2018-01-03 | extend `__PURE__` to `AST_New` (#2706)...fixes #2705 | Alex Lam S.L |
2018-01-03 | inline functions with `AST_Var` (#2688) | Alex Lam S.L |
2018-01-02 | enhance `collapse_vars` (#2704) | Alex Lam S.L |
2018-01-02 | enhance `if_return` (#2703) | Alex Lam S.L |
2018-01-02 | reset argument value within loop after `inline` (#2699) | Alex Lam S.L |
2018-01-02 | scan within IIFEs of assigned values (#2702)...fixes #2701 | Alex Lam S.L |
2018-01-01 | enhance `join_vars` & `sequences` (#2697)...- nudge declarations without assignments - within `AST_BlockStatement` - across `AST_If` | Alex Lam S.L |
2017-12-31 | fix `inline` on duplicate argument names (#2698) | Alex Lam S.L |
2017-12-31 | reduce hoisting declarations (#2687) | Alex Lam S.L |
2017-12-30 | fix `dead_code` on escaped `return` assignment (#2693)...fixes #2692 | Alex Lam S.L |
2017-12-28 | fix `pure_getters` on `AST_Binary` (#2681)...fixes #2678 | Alex Lam S.L |
2017-12-28 | improve assignment variations (#2671) | Alex Lam S.L |
2017-12-28 | fix function inlining within loops (#2675)...fixes #2663 | Alex Lam S.L |
2017-12-27 | fix `dead_code` on `return` assignments (#2668)...fixes #2666 | Alex Lam S.L |
2017-12-27 | retain recursive function names (#2667)...fixes #2665 | Alex Lam S.L |
2017-12-27 | fix bugs on substituted `AST_Defun` (#2661)...fixes #2660 | Alex Lam S.L |
2017-12-26 | replace single-use recursive functions (#2659)...fixes #2628 | Alex Lam S.L |
2017-12-26 | suppress `inline` within substituted `AST_Scope` (#2658)...fixes #2657 | Alex Lam S.L |
2017-12-26 | improve `unused` over duplicate variable names (#2656) | Alex Lam S.L |
2017-12-26 | parse LF & comment correctly (#2653)...fixes #2652 | Alex Lam S.L |
2017-12-25 | add `html-minifier` to benchmarks (#2646) | Alex Lam S.L |
2017-12-25 | fix infinite loop during `inline` (#2645)...fixes #2644 | Alex Lam S.L |
2017-12-24 | fix comments output & improve `/*@__PURE__*/`...- fix whitespace around comments - fix comment parsing around parentheses - consider parentheses when parsing `/*@__PURE__*/` - remove all `/*@__PURE__*/` on output fixes #2638 | Alex Lam S.L |
2017-12-24 | fix corner cases with `collapse_vars`, `inline` & `reduce_vars` (#2637)...fixes #2630 | Alex Lam S.L |
2017-12-24 | fix escape analysis on `AST_PropAccess` (#2636) | Alex Lam S.L |
2017-12-22 | make comments output more robust (#2633)...- improve handling of comments right after `return` - retain comments after `OutputStream` - preserve trailing comments - fix handling of new line before comments - handle comments around parentheses fixes #88 fixes #112 fixes #218 fixes #372 fixes #2629 | Alex Lam S.L |
2017-12-20 | extend `test/ufuzz.js` to `inline` & `reduce_funcs` (#2620)...- forward call `fN()` - allow forward call functions to be single-use - avoid generating `AST_Defun` within blocks | Alex Lam S.L |
2017-12-20 | disable `hoist_funs` by default (#2626) | Alex Lam S.L |
2017-12-20 | avoid `inline` of function with special argument names (#2625) | Alex Lam S.L |
2017-12-19 | fix `inline` after single-use `reduce_vars` (#2623) | Alex Lam S.L |
2017-12-19 | add test for #2613 (#2618) | Alex Lam S.L |
2017-12-19 | handle global constant collision with local variable after `inline` (#2617)...fixes #2616 | Alex Lam S.L |
2017-12-18 | compress `apply()` & `call()` of `function` (#2613)...- `fn.apply(a, [ ... ])` => `fn.call(a, ...)` - `fn.call(a, ... )` => `a, fn(...)` where `fn` can be `function` literal or symbol reference linked through `reduce_vars` | Alex Lam S.L |
2017-12-18 | drop property assignment to constants (#2612) | Alex Lam S.L |
2017-12-18 | improve transversal efficiency in `collapse_vars` (#2611)...fixes #2603 | Alex Lam S.L |
2017-12-16 | account for `catch` variable when `inline` (#2605)...fixes #2604 | Alex Lam S.L |
2017-12-16 | fix nested `inline` (#2602)...fixes #2601 | Alex Lam S.L |
2017-12-15 | fix escape analysis on `||` and `&&` (#2600)...fixes #2598 | Alex Lam S.L |
2017-12-15 | fix `dead_code` on nested `try` (#2599)...fixes #2597 | Alex Lam S.L |
2017-12-15 | fix `reduce_vars` on `do...while` (#2596) | Alex Lam S.L |
2017-12-15 | handle `inline` of function arguments (#2590)...fixes #2476 | Alex Lam S.L |
2017-12-14 | inline single-use `function` across loop (#2594) | Alex Lam S.L |
2017-12-14 | fix `reduce_vars` on single `AST_Defun` reference across loop (#2593) | Alex Lam S.L |
2017-12-14 | improve `reduce_vars` (#2592)...- account for hoisting nature of `var` | Alex Lam S.L |
2017-12-14 | improve `collapse_vars` (#2591)...- handle single-use assignments other than `AST_VarDef` - scan `AST_Call` for candidates | Alex Lam S.L |
2017-12-14 | improve `dead_code` tests (#2589)...for #2588 | kzc |