aboutsummaryrefslogtreecommitdiff
path: root/test/compress
AgeCommit message (Expand)Author
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
2018-02-06evaluate `to{Low,Upp}erCase()` under `unsafe` (#2886)Alex Lam S.L
2018-02-05change `undefined == x` to `null == x` (#2882)...fixes #2871Dan
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-03fix assignment logic in `reduce_vars` (#2872)...fixes #2869Alex Lam S.L
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
2018-02-01simplify comparisons with `undefined` & `null` (#2862)...fixes #2857Alex Lam S.L
2018-02-01avoid `evaluate` of compound assignment after `dead_code` transform (#2861)...fixes #2860Alex 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-29improve symbol replacement heuristic (#2851)Alex Lam S.L
2018-01-29compress chained compound assignments (#2850)Alex Lam S.L
2018-01-26fix accounting after conversion to assignment (#2847)...Missing reference to `AST_SymbolRef` created by `unused` causes `collapse_vars` to misbehave. fixes #2846Alex Lam S.L
2018-01-23drop assignments to constant expressions only (#2839)...fixes #2838Alex Lam S.L
2018-01-23handle duplicate function declarations correctly (#2837)...fixes #2836Alex Lam S.L
2018-01-21fix `unsafe` `evaluate` of `AST_Array` (#2825)...fixes #2822Alex Lam S.L
2018-01-19enable `unsafe` for `test/ufuzz.js` (#2819)...- introduce `unsafe_undefined` - safer `.toString()` compression Miscellaneous - rename `unsafe_Function`Alex Lam S.L
2018-01-19improve `unused` on built-in functions (#2817)Alex Lam S.L
2018-01-19avoid duplicate property names in object literals under "use strict" (#2818)...fixes #2816Alex Lam S.L
2018-01-19compress `undefined` property names (#2811)...- enforce property names as string - handle `void 0` as `undefined` in `hoist_props` & `reduce_vars`Alex Lam S.L
2018-01-18fix `join_vars` property assignment for negative array index (#2810)...fixes #2790kzc