aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
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
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-29backport test from #2526 (#2534)Alex Lam S.L
2017-11-29fix `inline` on nested substitutions (#2533)...fixes #2531Alex Lam S.L
2017-11-28fix nested `hoist_props` substitution (#2523)...fixes #2519Alex Lam S.L
2017-11-28improve synergy between `collapse_vars` & `unused` (#2521)Alex Lam S.L
2017-11-28drop assignment in `AST_VarDef.value` (#2522)...fixes #2516Alex Lam S.L
2017-11-26v3.2.0Alex Lam S.L
2017-11-25fix argument/atom collision by `properties` (#2514)...fixes #2513Alex Lam S.L
2017-11-25fix wording and formatting (#2512)Alex Lam S.L
2017-11-24extend escape analysis on constant expression properties (#2509)...fixes #2508Alex Lam S.L
2017-11-24fix argument/atom collision by `collapse_vars` (#2507)...fixes #2506Alex Lam S.L
2017-11-24make `AST_Lambda.contains_this()` less magical (#2505)Alex Lam S.L
2017-11-24eliminate invalid state caching in `collapse_vars` (#2502)...fixes #2497Alex Lam S.L
2017-11-24fix `rename` (#2501)...- suppress spurious `rename` from `commander` - handle `AST_SymbolCatch` correctlyAlex Lam S.L
2017-11-19expand symbol space to improve compression (#2460)...- give globally distinct names to distinct variables - improve ability to compress cross-scoped - introduce `options.rename` to `minify()` - default `true` if both `compress` & `mangle`Alex Lam S.L