aboutsummaryrefslogtreecommitdiff
path: root/test/compress
AgeCommit message (Collapse)Author
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
2017-12-15handle `inline` of function arguments (#2590)Alex Lam S.L
fixes #2476
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
- 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-12fix `AST_VarDef.may_throw()` (#2580)Alex Lam S.L
2017-12-11fix `collapse_vars` on `switch` (#2578)Alex Lam S.L
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-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-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-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-25fix argument/atom collision by `properties` (#2514)Alex Lam S.L
fixes #2513
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-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-16fix cross-scope inlining of `AST_Function`s (#2486)Alex Lam S.L
fixes #2485
2017-11-13fix replacement logic in `collapse_vars` (#2475)Alex Lam S.L
2017-11-13fix `top_retain` on `hoist_props` (#2474)Alex Lam S.L
fixes #2473
2017-11-12allow symbol replacement on multiple occurrences (#2472)Alex Lam S.L
- all-or-nothing replacement - avoid unmangleable names fixes #2436