aboutsummaryrefslogtreecommitdiff
path: root/test/compress/reduce_vars.js
AgeCommit message (Collapse)Author
2019-04-29fix corner case in `evaluate` (#3388)Alex Lam S.L
fixes #3387
2019-04-24fix corner case in `reduce_vars` (#3378)Alex Lam S.L
fixes #3377
2019-04-20enhance `unsafe` `evaluate` (#3370)Alex Lam S.L
2019-03-20enhance `unsafe` for `Array` (#3349)Alex Lam S.L
2019-03-15fix corner case in `reduce_vars` (#3341)Alex Lam S.L
2019-03-13fix corner case in `reduce_vars` (#3332)Alex Lam S.L
fixes #3267
2019-03-13make tests compatible with Node.js 12 (#3304)silverwind
In Node.js 12, the formatting of console arguments will change slightly. Previously, a string other than the first argument was formatted using single quotes if the first argument was non-string. Now, quotes are never added regardless of position of a string argument. To make test compatible in all Node.js versions, I work around by ensuring the first argument to console.log is a string which prevents the quotes from being added on older versions of Node.js. Ref: https://github.com/nodejs/node/pull/23162
2018-08-29fix corner case in `reduce_vars` (#3241)Alex Lam S.L
fixes #3240
2018-07-19fix corner case in `ie8` (#3216)Alex Lam S.L
fixes #3215
2018-07-01fix corner case in `unused`alexlamsl
2018-06-06general clean-ups (#3175)Alex Lam S.L
2018-05-26fix corner case in `reduce_vars` (#3151)Alex Lam S.L
2018-05-21fix corner case in `reduce_vars` (#3141)Alex Lam S.L
fixes #3140
2018-05-10fix corner case in `reduce_vars` (#3129)Alex Lam S.L
2018-05-07fix various corner cases (#3126)Alex Lam S.L
- augment ufuzz/reminify test options fixes #3125
2018-05-06fix corner case in `reduce_vars` (#3124)Alex Lam S.L
2018-05-05fix various corner cases (#3123)Alex Lam S.L
2018-05-04fix `reduce_vars` on nested invocations (#3118)Alex Lam S.L
2018-05-03better fix for #3113 (#3115)Alex Lam S.L
2018-05-03fix `TreeWalker` scan order (#3114)Alex Lam S.L
fixes #3113
2018-05-02improve `reduce_vars` (#3112)Alex Lam S.L
fixes #3110
2018-04-10handle flow control in loops with `reduce_vars` (#3069)Alex Lam S.L
fixes #3068
2018-03-31fix escape analysis on `AST_New` (#3043)Alex Lam S.L
fixes #3042
2018-03-16improve truthy compression (#3009)Alex Lam S.L
2018-03-11handle `case` correctly under `reduce_vars` (#2993)Alex Lam S.L
fixes #2992
2018-02-16fix `unsafe` `evaluate` of `AST_Function` (#2920)Alex Lam S.L
fixes #2919
2018-02-12simplify `do-while` into `for` (#2907)Alex Lam S.L
fixes #2904
2018-02-03fix assignment logic in `reduce_vars` (#2872)Alex Lam S.L
fixes #2869
2018-02-01avoid `evaluate` of compound assignment after `dead_code` transform (#2861)Alex Lam S.L
fixes #2860
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)Alex Lam S.L
fixes #2836
2018-01-17fix `AST_Scope.clone()` (#2803)Alex Lam S.L
fixes #2799
2018-01-13fix `reduce_vars` on `AST_Accessor` (#2776)Alex Lam S.L
fixes #2774
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)Alex Lam S.L
fixes #2628
2017-12-24fix escape analysis on `AST_PropAccess` (#2636)Alex Lam S.L
2017-12-15fix escape analysis on `||` and `&&` (#2600)Alex Lam S.L
fixes #2598
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-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-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)Alex Lam S.L
fixes #2560
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