aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
- account for hoisting nature of `var`
2017-12-14improve `collapse_vars` (#2591)Alex Lam S.L
- handle single-use assignments other than `AST_VarDef` - scan `AST_Call` for candidates
2017-12-14improve `dead_code` tests (#2589)kzc
for #2588
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
- faster exact type match - aggressively convert to `!`
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)Alex Lam S.L
fixes #2577
2017-12-11escape consecutive unpaired surrogates (#2576)Alex Lam S.L
fixes #2569
2017-12-11rename tests (#2575)Alex Lam S.L
2017-12-11handle exceptional flow correctly in `collapse_vars` (#2574)Alex Lam S.L
fixes #2571
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)Alex Lam S.L
fixes #2560
2017-12-08account for side-effects in conditional call inversion (#2562)Alex Lam S.L
fixes #2560
2017-12-07eliminate noop calls more aggressively (#2559)Alex Lam S.L
2017-12-07improve `if_return` (#2558)Alex Lam S.L
`return void x()` => `x()`
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)Alex Lam S.L
- gated through `typeofs`
2017-12-01improve boolean compression (#2548)Alex Lam S.L
fixes #2535
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)Alex Lam S.L
fixes #2531
2017-11-28fix nested `hoist_props` substitution (#2523)Alex Lam S.L
fixes #2519
2017-11-28improve synergy between `collapse_vars` & `unused` (#2521)Alex Lam S.L
2017-11-28drop assignment in `AST_VarDef.value` (#2522)Alex Lam S.L
fixes #2516
2017-11-26v3.2.0Alex Lam S.L
2017-11-25fix argument/atom collision by `properties` (#2514)Alex Lam S.L
fixes #2513
2017-11-25fix wording and formatting (#2512)Alex Lam S.L
2017-11-24extend escape analysis on constant expression properties (#2509)Alex Lam S.L
fixes #2508
2017-11-24fix argument/atom collision by `collapse_vars` (#2507)Alex Lam S.L
fixes #2506
2017-11-24make `AST_Lambda.contains_this()` less magical (#2505)Alex Lam S.L
2017-11-24eliminate invalid state caching in `collapse_vars` (#2502)Alex Lam S.L
fixes #2497
2017-11-24fix `rename` (#2501)Alex Lam S.L
- suppress spurious `rename` from `commander` - handle `AST_SymbolCatch` correctly
2017-11-19expand symbol space to improve compression (#2460)Alex Lam S.L
- give globally distinct names to distinct variables - improve ability to compress cross-scoped - introduce `options.rename` to `minify()` - default `true` if both `compress` & `mangle`