aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2018-01-05warn on deprecated features (#2726)Alex Lam S.L
- `function.arguments` - `function.callers` fixes #2719
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-04reminify tests upon `expect_stdout` (#2716)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)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-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)Alex Lam S.L
fixes #2705
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)Alex Lam S.L
fixes #2701
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-31reduce hoisting declarations (#2687)Alex Lam S.L
2017-12-30fix `dead_code` on escaped `return` assignment (#2693)Alex Lam S.L
fixes #2692
2017-12-28fix `pure_getters` on `AST_Binary` (#2681)Alex Lam S.L
fixes #2678
2017-12-28improve assignment variations (#2671)Alex Lam S.L
2017-12-28fix function inlining within loops (#2675)Alex Lam S.L
fixes #2663
2017-12-27fix `dead_code` on `return` assignments (#2668)Alex Lam S.L
fixes #2666
2017-12-27retain recursive function names (#2667)Alex Lam S.L
fixes #2665
2017-12-27fix bugs on substituted `AST_Defun` (#2661)Alex Lam S.L
fixes #2660
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-26improve `unused` over duplicate variable names (#2656)Alex Lam S.L
2017-12-26parse LF & comment correctly (#2653)Alex Lam S.L
fixes #2652
2017-12-25add `html-minifier` to benchmarks (#2646)Alex Lam S.L
2017-12-25fix infinite loop during `inline` (#2645)Alex Lam S.L
fixes #2644
2017-12-24fix comments output & improve `/*@__PURE__*/`Alex Lam S.L
- fix whitespace around comments - fix comment parsing around parentheses - consider parentheses when parsing `/*@__PURE__*/` - remove all `/*@__PURE__*/` on output fixes #2638
2017-12-24fix corner cases with `collapse_vars`, `inline` & `reduce_vars` (#2637)Alex Lam S.L
fixes #2630
2017-12-24fix escape analysis on `AST_PropAccess` (#2636)Alex Lam S.L
2017-12-22make comments output more robust (#2633)Alex Lam S.L
- 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
2017-12-20extend `test/ufuzz.js` to `inline` & `reduce_funcs` (#2620)Alex Lam S.L
- forward call `fN()` - allow forward call functions to be single-use - avoid generating `AST_Defun` within blocks
2017-12-20disable `hoist_funs` by default (#2626)Alex Lam S.L
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-18drop property assignment to constants (#2612)Alex Lam S.L
2017-12-18improve transversal efficiency in `collapse_vars` (#2611)Alex Lam S.L
fixes #2603
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-15fix escape analysis on `||` and `&&` (#2600)Alex Lam S.L
fixes #2598
2017-12-15fix `dead_code` on nested `try` (#2599)Alex Lam S.L
fixes #2597
2017-12-15fix `reduce_vars` on `do...while` (#2596)Alex Lam S.L