aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
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-19Transform can be simplified when clone is not done. (#2621)Ondřej Španěl
2017-12-19add test for #2613 (#2618)Alex Lam S.L
2017-12-19handle global constant collision with local variable after `inline` (#2617)...fixes #2616Alex Lam S.L
2017-12-18compress `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-18drop property assignment to constants (#2612)Alex Lam S.L
2017-12-18improve transversal efficiency in `collapse_vars` (#2611)...fixes #2603Alex Lam S.L
2017-12-17export `parse()` (#2608)Alex Lam S.L
2017-12-17improve `reset_opt_flags()` (#2610)Alex Lam S.L
2017-12-16account for `catch` variable when `inline` (#2605)...fixes #2604Alex Lam S.L
2017-12-16fix nested `inline` (#2602)...fixes #2601Alex Lam S.L
2017-12-15fix escape analysis on `||` and `&&` (#2600)...fixes #2598Alex Lam S.L
2017-12-15fix `dead_code` on nested `try` (#2599)...fixes #2597Alex Lam S.L
2017-12-15fix `reduce_vars` on `do...while` (#2596)Alex Lam S.L
2017-12-15handle `inline` of function arguments (#2590)...fixes #2476Alex Lam S.L
2017-12-14inline single-use `function` across loop (#2594)Alex Lam S.L
2017-12-14fix `reduce_vars` on single `AST_Defun` reference across loop (#2593)Alex Lam S.L
2017-12-14improve `reduce_vars` (#2592)...- account for hoisting nature of `var`Alex Lam S.L
2017-12-14improve `collapse_vars` (#2591)...- handle single-use assignments other than `AST_VarDef` - scan `AST_Call` for candidatesAlex Lam S.L
2017-12-14improve `dead_code` tests (#2589)...for #2588kzc
2017-12-14fix `dead_code` on `return`/`throw` within `try` (#2588)Alex Lam S.L
2017-12-14drop local assign-only variable in `return` (#2587)Alex Lam S.L
2017-12-14fold `cascade` functionality into `collapse_vars` (#2586)Alex Lam S.L
2017-12-13recover lost opportunities from #2574 (#2584)Alex Lam S.L
2017-12-13improve `collapse_vars` on side-effect-free replacements (#2583)Alex Lam S.L
2017-12-13minor clean-up for IIFE (#2582)...- faster exact type match - aggressively convert to `!`Alex Lam S.L
2017-12-12avoid `Function.prototype` pollution by `test/sandbox.js` (#2581)Alex Lam S.L
2017-12-12fix `AST_VarDef.may_throw()` (#2580)Alex Lam S.L
2017-12-11fix `collapse_vars` on `switch` (#2578)Alex Lam S.L
2017-12-11remove unused code (#2579)...fixes #2577Alex Lam S.L
2017-12-11escape consecutive unpaired surrogates (#2576)...fixes #2569Alex Lam S.L
2017-12-11rename tests (#2575)Alex Lam S.L
2017-12-11handle exceptional flow correctly in `collapse_vars` (#2574)...fixes #2571Alex Lam S.L
2017-12-10v3.2.2Alex Lam S.L
2017-12-09improve `unused` on assign-only symbols (#2568)Alex Lam S.L
2017-12-08fix escape analysis for `AST_Throw` (#2564)Alex Lam S.L
2017-12-08fix escape analysis for `AST_Conditional` & `AST_Sequence` (#2563)...fixes #2560Alex Lam S.L
2017-12-08account for side-effects in conditional call inversion (#2562)...fixes #2560Alex Lam S.L
2017-12-07eliminate noop calls more aggressively (#2559)Alex Lam S.L
2017-12-07improve `if_return` (#2558)...`return void x()` => `x()`Alex Lam S.L
2017-12-03v3.2.1Alex Lam S.L
2017-12-02fix `dead_code` on `for` (#2552)Alex Lam S.L
2017-12-02more tests for #2535 (#2551)Alex Lam S.L
2017-12-02improve `evaluate` on `typeof` (#2550)...- gated through `typeofs`Alex Lam S.L
2017-12-01improve boolean compression (#2548)...fixes #2535Alex Lam S.L
2017-12-01improve switch case compression (#2547)Alex Lam S.L
2017-12-01improve `AST_For.init` & `AST_Switch.expression` compression (#2546)Alex Lam S.L
2017-12-01convert to number under boolean context (#2545)Alex Lam S.L
2017-12-01improve compression of `if` conditions (#2544)Alex Lam S.L