aboutsummaryrefslogtreecommitdiff
path: root/test/compress
AgeCommit message (Collapse)Author
2018-04-25better fix for #2506 (#3099)Alex Lam S.L
2018-04-24handle RHS side-effects in `collapse_vars` (#3097)Alex Lam S.L
fixes #3096
2018-04-24improve `max_line_len` (#3095)Alex Lam S.L
fixes #304
2018-04-11fix `inline` of `catch`-scoped variables (#3077)Alex Lam S.L
fixes #3076
2018-04-11suppress `hoist_props` for embedded assignments (#3074)Alex Lam S.L
2018-04-11extend `hoist_props` (#3073)Alex Lam S.L
- handle `AST_Assign` the same way as `AST_VarDef` - inject `AST_Var` as succeeding statement fixes #3071
2018-04-11extend `join_vars` on object assignments (#3072)Alex Lam S.L
2018-04-10handle flow control in loops with `reduce_vars` (#3069)Alex Lam S.L
fixes #3068
2018-04-10handle `pure_funcs` under `inline` & `reduce_vars` correctly (#3066)Alex Lam S.L
fixes #3065
2018-04-06mangle `Object.defineProperty()` (#3059)Alex Lam S.L
fixes #869
2018-04-06fix AST corruption during `inline` of simple `return` (#3056)Alex Lam S.L
fixes #3054
2018-04-02fix tree traversal on `AST_Do` (#3047)Alex Lam S.L
fixes #3046
2018-03-31fix escape analysis on `AST_New` (#3043)Alex Lam S.L
fixes #3042
2018-03-30mangle unused nested `AST_SymbolCatch` correctly (#3038)Alex Lam S.L
fixes #3035
2018-03-30handle modifications to `this` correctly (#3036)Alex Lam S.L
fixes #3032
2018-03-23fix corner case in `hoist_props` (#3022)Alex Lam S.L
fixes #3021
2018-03-23fix nested `inline` within loop (#3019)Alex Lam S.L
fixes #3018
2018-03-22fix corner case in `inline` (#3017)Alex Lam S.L
fixes #3016
2018-03-17extend fuzzy RHS folding (#3006)Alex Lam S.L
- `a = []; if (1) x();` => `if (a = []) x();`
2018-03-16improve truthy compression (#3009)Alex Lam S.L
2018-03-15refactor brackets to braces (#3005)Alex Lam S.L
2018-03-13preserve non-constant value assignments with modifications (#2997)Alex Lam S.L
fixes #2995
2018-03-11handle `case` correctly under `reduce_vars` (#2993)Alex Lam S.L
fixes #2992
2018-03-11preserve case when `inline_script` (#2991)Alex Lam S.L
fixes #2989
2018-03-07fix `mangle` of `AST_SymbolLambda` under `ie8` (#2978)Alex Lam S.L
fixes #2976
2018-03-06handle negated constants correctly in `collapse_vars` (#2975)Alex Lam S.L
fixes #2974
2018-03-02compress `arguments[index]` (#2967)Alex Lam S.L
- always replace with existing parameter - only introduce new parameter if `keep_fargs` is disabled
2018-03-02fix value reference caching in `evaluate` (#2969)Alex Lam S.L
fixes #2968
2018-02-28enhance `conditionals` (#2966)Alex Lam S.L
- `x ? (y, w) : (z, w)` => `x ? y : z, w`
2018-02-28migrate safe transformations out of `unsafe_comps` (#2962)Alex Lam S.L
fixes #2959
2018-02-28drop `side_effects`-free `return` values (#2965)Alex Lam S.L
2018-02-28enhance `collapse_vars` (#2952)Alex Lam S.L
- `a = b, b` => `a = b` - `a.b = c, c()` => `(a.b = c)()`
2018-02-26drop lone "use strict" in function body (#2963)Alex Lam S.L
fixes #2961
2018-02-26improve fix for #2954 (#2958)Alex Lam S.L
2018-02-25fix `collapse_vars` on nested exception (#2955)Alex Lam S.L
fixes #2954
2018-02-25deduplicate parenthesis around object and function literals (#2953)Alex Lam S.L
2018-02-23improve `mangle` (#2948)Alex Lam S.L
2018-02-21more tests for #2938 (#2940)Alex Lam S.L
2018-02-20workaround `pure_getters=true` when dropping unused assignments (#2939)Alex Lam S.L
fixes #2938
2018-02-18fix crash in `may_throw()` (#2932)Alex Lam S.L
fixes #2931
2018-02-18fix `dead_code` on exceptional `return` (#2930)Alex Lam S.L
fixes #2929
2018-02-17fix `unsafe` `evaluate` of `function` property (#2927)Alex Lam S.L
fixes #2926
2018-02-17drop unused "class" definition IIFEs (#2923)Alex Lam S.L
fixes #805
2018-02-17improve `inline` efficiency (#2924)Alex Lam S.L
2018-02-16fix `unsafe` `evaluate` of `AST_Function` (#2920)Alex Lam S.L
fixes #2919
2018-02-14fix `unsafe` `evaluate` on type-converting operators (#2917)Alex Lam S.L
fixes #2916
2018-02-14fix `collapse_vars` within loops (#2915)Alex Lam S.L
fixes #2914
2018-02-13collapse within unary expressions (#2910)Alex Lam S.L
2018-02-13fix corner case in `collapse_vars` (#2909)Alex Lam S.L
fixes #2908
2018-02-12simplify `do-while` into `for` (#2907)Alex Lam S.L
fixes #2904