aboutsummaryrefslogtreecommitdiff
path: root/test/compress/reduce_vars.js
AgeCommit message (Expand)Author
2018-02-16fix `unsafe` `evaluate` of `AST_Function` (#2920)...fixes #2919Alex Lam S.L
2018-02-12simplify `do-while` into `for` (#2907)...fixes #2904Alex Lam S.L
2018-02-03fix assignment logic in `reduce_vars` (#2872)...fixes #2869Alex Lam S.L
2018-02-01avoid `evaluate` of compound assignment after `dead_code` transform (#2861)...fixes #2860Alex Lam S.L
2018-01-29improve symbol replacement heuristic (#2851)Alex Lam S.L
2018-01-29compress chained compound assignments (#2850)Alex Lam S.L
2018-01-23handle duplicate function declarations correctly (#2837)...fixes #2836Alex Lam S.L
2018-01-17fix `AST_Scope.clone()` (#2803)...fixes #2799Alex Lam S.L
2018-01-13fix `reduce_vars` on `AST_Accessor` (#2776)...fixes #2774Alex Lam S.L
2018-01-04drop `unused` assignment based on `reduce_vars` (#2709)Alex Lam S.L
2018-01-03fix `reduce_vars` on `AST_Defun` (#2708)Alex Lam S.L
2017-12-31reduce hoisting declarations (#2687)Alex Lam S.L
2017-12-26replace single-use recursive functions (#2659)...fixes #2628Alex Lam S.L
2017-12-24fix escape analysis on `AST_PropAccess` (#2636)Alex Lam S.L
2017-12-15fix escape analysis on `||` and `&&` (#2600)...fixes #2598Alex 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-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-14fold `cascade` functionality into `collapse_vars` (#2586)Alex Lam S.L
2017-12-11rename tests (#2575)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-01convert to number under boolean context (#2545)Alex Lam S.L
2017-12-01improve compression of loop conditions (#2543)Alex Lam S.L
2017-11-29backport test from #2526 (#2534)Alex Lam S.L
2017-11-28improve synergy between `collapse_vars` & `unused` (#2521)Alex Lam S.L
2017-11-16fix cross-scope inlining of `AST_Function`s (#2486)...fixes #2485Alex Lam S.L
2017-11-11extend `reduce_funcs` to cover cross-scope substitutions (#2469)...fixes #2468Alex Lam S.L
2017-11-11implement compress option `reduce_funcs` (#2466)...- inline single-use function declarations as expressions when permissible - depend on `reduce_vars` - enabled by default - disable for speed critical code fixes #2464Alex Lam S.L
2017-11-10fix object literal tracing in `reduce_vars` (#2461)Alex Lam S.L
2017-11-09fix multiple nested function substitutions (#2458)...fixes #2449Alex Lam S.L
2017-11-08preserve function identity in `reduce_vars` (#2451)...fixes #2450Alex Lam S.L
2017-11-07handle circular `function` reference gracefully (#2446)...fixes #2442Alex Lam S.L
2017-11-06account for `eval` & `with` in `reduce_vars` (#2441)...fixes #2440Alex Lam S.L
2017-11-06consolidate & enhance `unused` (#2439)...- defer declaration removal in `collapse_vars` - account for `AST_SymbolFunarg` in deduplication - private accounting for `collapse_vars` - avoid issues with identity reference due to deep cloning fixes #2437Alex Lam S.L
2017-11-05extend function inlining safety checks (#2430)Alex Lam S.L
2017-11-05consolidate single-use `function` reduction (#2427)...fixes #2423Alex Lam S.L
2017-11-04reduce `this` within functions (#2421)...- only replace same-scope usages - augment `test/ufuzz.js` to test for `this` fixes #2420Alex Lam S.L
2017-10-29enhance `properties` (#2412)...- trim array items only if `side_effects` - extend to non-identifier propertiesAlex Lam S.L
2017-10-24fix `unsafe` `reduce_vars` on arrays & objects (#2397)Alex Lam S.L
2017-10-24enhance `unsafe` `evaluate` of arrays & objects (#2394)Alex Lam S.L
2017-10-22safer `properties` transform (#2391)...`{ a: x, b: y }.a` => `[ x, y ][0]` - `x` cannot be function containing `this` `[ x, y, z ][1]` => `(x, z, y)` - only if `z` is side-effect-freeAlex Lam S.L
2017-10-22fix `unsafe` escape analysis in `reduce_vars` (#2387)Alex Lam S.L
2017-10-21`unsafe` fix-ups for #2351 (#2379)Alex Lam S.L
2017-10-12more tests for #2351 (#2357)Alex Lam S.L
2017-10-09perform `reduce_vars` on safe literals (#2351)...- constant expression - single reference - same scope - not across loop bodyAlex Lam S.L
2017-10-01enhance `reduce_vars` for `AST_Accessor` (#2339)...fixes #2336Alex Lam S.L
2017-07-05improve `compress` granularity through `typeofs` (#2201)...fixes #2198Alex Lam S.L
2017-06-23fix `reduce_vars` on `this` (#2145)...fixes #2140Alex Lam S.L