aboutsummaryrefslogtreecommitdiff
path: root/test/compress
AgeCommit message (Expand)Author
2018-04-11fix `inline` of `catch`-scoped variables (#3077)...fixes #3076Alex Lam S.L
2018-04-11suppress `hoist_props` for embedded assignments (#3074)Alex Lam S.L
2018-04-11extend `hoist_props` (#3073)...- handle `AST_Assign` the same way as `AST_VarDef` - inject `AST_Var` as succeeding statement fixes #3071Alex Lam S.L
2018-04-11extend `join_vars` on object assignments (#3072)Alex Lam S.L
2018-04-10handle flow control in loops with `reduce_vars` (#3069)...fixes #3068Alex Lam S.L
2018-04-10handle `pure_funcs` under `inline` & `reduce_vars` correctly (#3066)...fixes #3065Alex Lam S.L
2018-04-06mangle `Object.defineProperty()` (#3059)...fixes #869Alex Lam S.L
2018-04-06fix AST corruption during `inline` of simple `return` (#3056)...fixes #3054Alex Lam S.L
2018-04-02fix tree traversal on `AST_Do` (#3047)...fixes #3046Alex Lam S.L
2018-03-31fix escape analysis on `AST_New` (#3043)...fixes #3042Alex Lam S.L
2018-03-30mangle unused nested `AST_SymbolCatch` correctly (#3038)...fixes #3035Alex Lam S.L
2018-03-30handle modifications to `this` correctly (#3036)...fixes #3032Alex Lam S.L
2018-03-23fix corner case in `hoist_props` (#3022)...fixes #3021Alex Lam S.L
2018-03-23fix nested `inline` within loop (#3019)...fixes #3018Alex Lam S.L
2018-03-22fix corner case in `inline` (#3017)...fixes #3016Alex Lam S.L
2018-03-17extend fuzzy RHS folding (#3006)...- `a = []; if (1) x();` => `if (a = []) x();`Alex Lam S.L
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)...fixes #2995Alex Lam S.L
2018-03-11handle `case` correctly under `reduce_vars` (#2993)...fixes #2992Alex Lam S.L
2018-03-11preserve case when `inline_script` (#2991)...fixes #2989Alex Lam S.L
2018-03-07fix `mangle` of `AST_SymbolLambda` under `ie8` (#2978)...fixes #2976Alex Lam S.L
2018-03-06handle negated constants correctly in `collapse_vars` (#2975)...fixes #2974Alex Lam S.L
2018-03-02compress `arguments[index]` (#2967)...- always replace with existing parameter - only introduce new parameter if `keep_fargs` is disabledAlex Lam S.L
2018-03-02fix value reference caching in `evaluate` (#2969)...fixes #2968Alex Lam S.L
2018-02-28enhance `conditionals` (#2966)...- `x ? (y, w) : (z, w)` => `x ? y : z, w`Alex 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-26drop lone "use strict" in function body (#2963)...fixes #2961Alex 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-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)...fixes #2938Alex Lam S.L
2018-02-18fix crash in `may_throw()` (#2932)...fixes #2931Alex Lam S.L
2018-02-18fix `dead_code` on exceptional `return` (#2930)...fixes #2929Alex Lam S.L
2018-02-17fix `unsafe` `evaluate` of `function` property (#2927)...fixes #2926Alex Lam S.L
2018-02-17drop unused "class" definition IIFEs (#2923)...fixes #805Alex Lam S.L
2018-02-17improve `inline` efficiency (#2924)Alex Lam S.L
2018-02-16fix `unsafe` `evaluate` of `AST_Function` (#2920)...fixes #2919Alex Lam S.L
2018-02-14fix `unsafe` `evaluate` on type-converting operators (#2917)...fixes #2916Alex Lam S.L
2018-02-14fix `collapse_vars` within loops (#2915)...fixes #2914Alex Lam S.L
2018-02-13collapse within unary expressions (#2910)Alex Lam S.L
2018-02-13fix corner case in `collapse_vars` (#2909)...fixes #2908Alex Lam S.L
2018-02-12simplify `do-while` into `for` (#2907)...fixes #2904Alex Lam S.L
2018-02-09fix AST corruption due to `collapse_vars` & `inline` (#2899)...fixes #2898Alex Lam S.L
2018-02-09fix `join_vars` on property accessors (#2895)...fixes #2893Alex Lam S.L
2018-02-08account for exceptions in `AST_Assign.left` (#2892)...fixes #2891Alex Lam S.L