aboutsummaryrefslogtreecommitdiff
path: root/lib/compress.js
AgeCommit message (Expand)Author
2017-12-25fix infinite loop during `inline` (#2645)...Alex Lam S.L
2017-12-24fix comments output & improve `/*@__PURE__*/`...Alex Lam S.L
2017-12-24fix corner cases with `collapse_vars`, `inline` & `reduce_vars` (#2637)...Alex Lam S.L
2017-12-24fix escape analysis on `AST_PropAccess` (#2636)Alex Lam S.L
2017-12-20remove AST hack from `inline` (#2627)Alex Lam S.L
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-19handle global constant collision with local variable after `inline` (#2617)...Alex Lam S.L
2017-12-18compress `apply()` & `call()` of `function` (#2613)...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)...Alex Lam S.L
2017-12-17improve `reset_opt_flags()` (#2610)Alex Lam S.L
2017-12-16account for `catch` variable when `inline` (#2605)...Alex Lam S.L
2017-12-16fix nested `inline` (#2602)...Alex Lam S.L
2017-12-15fix escape analysis on `||` and `&&` (#2600)...Alex Lam S.L
2017-12-15fix `dead_code` on nested `try` (#2599)...Alex Lam S.L
2017-12-15fix `reduce_vars` on `do...while` (#2596)Alex Lam S.L
2017-12-15handle `inline` of function arguments (#2590)...Alex 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)...Alex Lam S.L
2017-12-14improve `collapse_vars` (#2591)...Alex Lam S.L
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)...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-11handle exceptional flow correctly in `collapse_vars` (#2574)...Alex 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)...Alex Lam S.L
2017-12-08account for side-effects in conditional call inversion (#2562)...Alex Lam S.L
2017-12-07eliminate noop calls more aggressively (#2559)Alex Lam S.L
2017-12-07improve `if_return` (#2558)...Alex Lam S.L
2017-12-02fix `dead_code` on `for` (#2552)Alex Lam S.L
2017-12-02improve `evaluate` on `typeof` (#2550)...Alex Lam S.L
2017-12-01improve boolean compression (#2548)...Alex 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
2017-12-01improve compression of loop conditions (#2543)Alex Lam S.L
2017-12-01improve code reuse (#2542)Alex Lam S.L
2017-12-01fix corner case in call binding (#2541)Alex Lam S.L
2017-11-29fix `inline` on nested substitutions (#2533)...Alex Lam S.L
2017-11-28fix nested `hoist_props` substitution (#2523)...Alex Lam S.L