aboutsummaryrefslogtreecommitdiff
path: root/test/compress/collapse_vars.js
AgeCommit message (Expand)Author
2019-04-30unify logging functionality (#3392)...fixes #3253 fixes #3254Alex Lam S.L
2019-04-21unwind IIFE class patterns (#3373)...fixes #2332Alex Lam S.L
2019-03-20enhance `collapse_vars` (#3351)Alex Lam S.L
2019-03-18introduce `assignments` (#3345)Alex Lam S.L
2019-03-15enhance `evaluate` (#3339)...fixes #3299Alex Lam S.L
2019-03-13fix corner case in `collapse_vars` (#3333)...fixes #3247 fixes #3305 fixes #3314 fixes #3327Alex Lam S.L
2018-08-29fix corner case in `collapse_vars` (#3239)...fixes #3238Alex Lam S.L
2018-07-19fix corner case in `ie8` (#3216)...fixes #3215Alex Lam S.L
2018-07-01fix corner case in `unused`alexlamsl
2018-06-06general clean-ups (#3175)Alex Lam S.L
2018-05-19fix corner case in `collapse_vars` (#3139)Alex Lam S.L
2018-05-05fix various corner cases (#3123)Alex Lam S.L
2018-04-27workaround `vm` context issue in `node-chakracore` (#3106)Alex Lam S.L
2018-04-25better fix for #2506 (#3099)Alex Lam S.L
2018-04-24handle RHS side-effects in `collapse_vars` (#3097)...fixes #3096Alex Lam S.L
2018-03-30handle modifications to `this` correctly (#3036)...fixes #3032Alex Lam S.L
2018-03-17extend fuzzy RHS folding (#3006)...- `a = []; if (1) x();` => `if (a = []) x();`Alex Lam S.L
2018-03-06handle negated constants correctly in `collapse_vars` (#2975)...fixes #2974Alex Lam S.L
2018-02-28migrate safe transformations out of `unsafe_comps` (#2962)...fixes #2959Alex Lam S.L
2018-02-28drop `side_effects`-free `return` values (#2965)Alex Lam S.L
2018-02-28enhance `collapse_vars` (#2952)...- `a = b, b` => `a = b` - `a.b = c, c()` => `(a.b = c)()`Alex Lam S.L
2018-02-26improve fix for #2954 (#2958)Alex Lam S.L
2018-02-25fix `collapse_vars` on nested exception (#2955)...fixes #2954Alex Lam S.L
2018-02-18fix crash in `may_throw()` (#2932)...fixes #2931Alex Lam S.L
2018-02-17drop unused "class" definition IIFEs (#2923)...fixes #805Alex Lam S.L
2018-02-14fix `collapse_vars` within loops (#2915)...fixes #2914Alex Lam S.L
2018-02-13fix corner case in `collapse_vars` (#2909)...fixes #2908Alex Lam S.L
2018-02-08account for exceptions in `AST_Assign.left` (#2892)...fixes #2891Alex Lam S.L
2018-02-04improve exceptional flow compression by `collapse_vars` (#2880)Alex Lam S.L
2018-02-04maintain order between side-effects and externally observable assignments (#2......fixes #2878Alex Lam S.L
2018-02-03handle `break` & `continue` in `collapse_vars` (#2875)...fixes #2873Alex Lam S.L
2018-02-03allow `collapse_vars` across conditional branches (#2867)Alex Lam S.L
2018-02-02fix missing corner case in #2855 (#2868)Alex Lam S.L
2018-02-01account for declaration assignment in `collapse_vars` (#2859)...fixes #2858Alex Lam S.L
2018-01-31relax `collapse_vars` on `AST_Exit` (#2855)...First introduced in #1862 to stop assignments to migrate beyond `return` or `throw`. Since then `collapse_vars` has been improved to handle various side-effect-related corner cases.Alex Lam S.L
2018-01-29compress chained compound assignments (#2850)Alex Lam S.L
2018-01-19improve `unused` on built-in functions (#2817)Alex Lam S.L
2018-01-16general improvements around `AST_ForIn` (#2796)...- compress using `collapse_vars` - remove unused `name` - simplify `loop_body`Alex Lam S.L
2018-01-15enhance `collapse_vars` (#2788)Alex Lam S.L
2018-01-09patch variable declaractions extracted within `catch` (#2753)...fixes #2749Alex Lam S.L
2017-12-26replace single-use recursive functions (#2659)...fixes #2628Alex Lam S.L
2017-12-18improve transversal efficiency in `collapse_vars` (#2611)...fixes #2603Alex Lam S.L
2017-12-15handle `inline` of function arguments (#2590)...fixes #2476Alex 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-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