aboutsummaryrefslogtreecommitdiff
path: root/test/compress
AgeCommit message (Expand)Author
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
2018-01-17fix `AST_Scope.clone()` (#2803)...fixes #2799Alex Lam S.L
2018-01-17suppress `unsafe_proto` for LHS expressions (#2804)Alex Lam S.L
2018-01-17extend `join_vars` & `sequences` (#2798)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-15avoid double counting within single-use functions (#2785)...fixes #2783Alex Lam S.L
2018-01-14fix & extend `join_vars` for object assigments (#2781)Alex Lam S.L
2018-01-13fix `reduce_vars` on `AST_Accessor` (#2776)...fixes #2774Alex Lam S.L
2018-01-11fix nested `unused` assignments (#2769)...fixes #2768Alex Lam S.L
2018-01-11fix corner case in #2763 (#2766)Alex Lam S.L
2018-01-11join object assignments (#2763)Alex Lam S.L
2018-01-10enhance `conditionals` (#2758)...`x ? y || z : z` --> `x && y || z`Alex Lam S.L
2018-01-09patch variable declaractions extracted within `catch` (#2753)...fixes #2749Alex Lam S.L
2018-01-08compress loops with immediate `break` (#2746)...fixes #2740Alex Lam S.L
2018-01-07fix recursive function `inline` (#2738)...fixes #2737Alex Lam S.L
2018-01-06compress `RegExp()` in `unsafe` (#2735)Alex Lam S.L
2018-01-06enhance `unsafe_proto` (#2733)Alex Lam S.L
2018-01-05fix corner case with `arguments` as function name (#2729)...fixes #2728Alex Lam S.L
2018-01-05improve `if_return` (#2727)Alex Lam S.L
2018-01-05warn on deprecated features (#2726)...- `function.arguments` - `function.callers` fixes #2719Alex Lam S.L
2018-01-04fix corner case in `inline` (#2720)Alex Lam S.L
2018-01-04forbid block-scoped `AST_Defun` in strict mode (#2718)Alex Lam S.L
2018-01-04preserve constant modification under strict mode (#2717)Alex Lam S.L
2018-01-04extend `inline` (#2714)...- compress `function` with variables within loops - restrict to `AST_Var` for better compatibility with ES6+Alex Lam S.L
2018-01-04apply `collapse_vars` to loop conditions (#2712)Alex Lam S.L
2018-01-04drop `unused` assignment based on `reduce_vars` (#2709)Alex Lam S.L
2018-01-03fix `reduce_vars` on `AST_Defun` (#2708)Alex Lam S.L
2018-01-03extend `__PURE__` to `AST_New` (#2706)...fixes #2705Alex Lam S.L
2018-01-03inline functions with `AST_Var` (#2688)Alex Lam S.L
2018-01-02enhance `collapse_vars` (#2704)Alex Lam S.L
2018-01-02enhance `if_return` (#2703)Alex Lam S.L
2018-01-02reset argument value within loop after `inline` (#2699)Alex Lam S.L