aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Expand)Author
2018-01-17extend `join_vars` & `sequences` (#2798)Alex Lam S.L
2018-01-16general improvements around `AST_ForIn` (#2796)...- compress using `collapse_vars` - remove unused `name` - simplify `loop_body`Alex Lam S.L
2018-01-15enhance `collapse_vars` (#2788)Alex Lam S.L
2018-01-15avoid suboptimal termination in `passes` (#2787)Alex Lam S.L
2018-01-15avoid double counting within single-use functions (#2785)...fixes #2783Alex Lam S.L
2018-01-14fix & extend `join_vars` for object assigments (#2781)Alex Lam S.L
2018-01-14improve SymbolDef info in `--output ast` (#2778)...* SymbolDef info (a.k.a. `thedef`) is now represented as a string containing `"ID name [mangled_name]"`. * Enhance display of `globals`, `variables`, `functions` and `enclosed`. * `SymbolDef.next_id` starts at `1` and the `id` is adjusted for `-o ast` display.kzc
2018-01-13fix `reduce_vars` on `AST_Accessor` (#2776)...fixes #2774Alex Lam S.L
2018-01-12add SymbolDef IDs to --output ast (#2772)kzc
2018-01-12fix output of imported AST (#2771)Alex Lam S.L
2018-01-11fix nested `unused` assignments (#2769)...fixes #2768Alex Lam S.L
2018-01-11fix corner case in #2763 (#2766)Alex Lam S.L
2018-01-11join object assignments (#2763)Alex Lam S.L
2018-01-10skip only `var`s in `if_return` (#2759)...fixes #2747Alex Lam S.L
2018-01-10enhance `conditionals` (#2758)...`x ? y || z : z` --> `x && y || z`Alex Lam S.L
2018-01-09improve synergy between `compress` and `rename` (#2755)Alex Lam S.L
2018-01-09patch variable declaractions extracted within `catch` (#2753)...fixes #2749Alex Lam S.L
2018-01-09improve `rename` reproducibility (#2754)...fixes #2752Alex Lam S.L
2018-01-08compress loops with immediate `break` (#2746)...fixes #2740Alex Lam S.L
2018-01-07fix recursive function `inline` (#2738)...fixes #2737Alex Lam S.L
2018-01-06handle trailing line comments correctly (#2736)...fixes #2734Alex Lam S.L
2018-01-06compress `RegExp()` in `unsafe` (#2735)Alex Lam S.L
2018-01-06enhance `unsafe_proto` (#2733)Alex Lam S.L
2018-01-05fix corner case with `arguments` as function name (#2729)...fixes #2728Alex Lam S.L
2018-01-05improve `if_return` (#2727)Alex Lam S.L
2018-01-05warn on deprecated features (#2726)...- `function.arguments` - `function.callers` fixes #2719Alex Lam S.L
2018-01-05fix `mangle` name collision across files (#2722)Alex Lam S.L
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-04preserve constant modification under strict mode (#2717)Alex Lam S.L
2018-01-04extend `inline` (#2714)...- compress `function` with variables within loops - restrict to `AST_Var` for better compatibility with ES6+Alex Lam S.L
2018-01-04apply `collapse_vars` to loop conditions (#2712)Alex Lam S.L
2018-01-04drop `unused` assignment based on `reduce_vars` (#2709)Alex Lam S.L
2018-01-03fix `reduce_vars` on `AST_Defun` (#2708)Alex Lam S.L
2018-01-03extend `__PURE__` to `AST_New` (#2706)...fixes #2705Alex 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-02enhance `if_return` (#2703)Alex Lam S.L
2018-01-02reset argument value within loop after `inline` (#2699)Alex Lam S.L
2018-01-02scan within IIFEs of assigned values (#2702)...fixes #2701Alex Lam S.L
2018-01-01enhance `join_vars` & `sequences` (#2697)...- nudge declarations without assignments - within `AST_BlockStatement` - across `AST_If`Alex Lam S.L
2017-12-31fix `inline` on duplicate argument names (#2698)Alex Lam S.L
2017-12-31reduce hoisting declarations (#2687)Alex Lam S.L
2017-12-30fix `dead_code` on escaped `return` assignment (#2693)...fixes #2692Alex Lam S.L
2017-12-29minor clean-ups (#2686)Alex Lam S.L
2017-12-28fix `pure_getters` on `AST_Binary` (#2681)...fixes #2678Alex Lam S.L
2017-12-28fix function inlining within loops (#2675)...fixes #2663Alex Lam S.L
2017-12-27fix `dead_code` on `return` assignments (#2668)...fixes #2666Alex Lam S.L
2017-12-27retain recursive function names (#2667)...fixes #2665Alex Lam S.L
2017-12-27fix bugs on substituted `AST_Defun` (#2661)...fixes #2660Alex Lam S.L