aboutsummaryrefslogtreecommitdiff
path: root/test/compress
AgeCommit message (Collapse)Author
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
2018-02-09fix AST corruption due to `collapse_vars` & `inline` (#2899)Alex Lam S.L
fixes #2898
2018-02-09fix `join_vars` on property accessors (#2895)Alex Lam S.L
fixes #2893
2018-02-08account for exceptions in `AST_Assign.left` (#2892)Alex Lam S.L
fixes #2891
2018-02-06evaluate `to{Low,Upp}erCase()` under `unsafe` (#2886)Alex Lam S.L
2018-02-05change `undefined == x` to `null == x` (#2882)Dan
fixes #2871
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 ↵Alex Lam S.L
(#2879) fixes #2878
2018-02-03handle `break` & `continue` in `collapse_vars` (#2875)Alex Lam S.L
fixes #2873
2018-02-03allow `collapse_vars` across conditional branches (#2867)Alex Lam S.L
2018-02-03fix assignment logic in `reduce_vars` (#2872)Alex Lam S.L
fixes #2869
2018-02-02fix missing corner case in #2855 (#2868)Alex Lam S.L
2018-02-01account for side-effects in `comparisons` of `null` & `undefined` (#2863)Alex Lam S.L