aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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-24minor clean-ups (#2951)Alex Lam S.L
2018-02-23improve `mangle` (#2948)Alex Lam S.L
2018-02-20workaround `pure_getters=true` when dropping unused assignments (#2939)Alex Lam S.L
fixes #2938
2018-02-19improve `unsafe` `evaluate` of `function` (#2936)Alex Lam S.L
Miscellaneous - simplify `run_code()` hack
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-01better fix for #2858 (#2864)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)Alex Lam S.L
fixes #2857
2018-02-01avoid `evaluate` of compound assignment after `dead_code` transform (#2861)Alex Lam S.L
fixes #2860
2018-02-01account for declaration assignment in `collapse_vars` (#2859)Alex Lam S.L
fixes #2858
2018-01-31relax `collapse_vars` on `AST_Exit` (#2855)Alex Lam S.L
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.
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)Alex Lam S.L
Missing reference to `AST_SymbolRef` created by `unused` causes `collapse_vars` to misbehave. fixes #2846
2018-01-23backport of #2835 (#2841)Alex Lam S.L
2018-01-23drop assignments to constant expressions only (#2839)Alex Lam S.L
fixes #2838
2018-01-23handle duplicate function declarations correctly (#2837)Alex Lam S.L
fixes #2836
2018-01-21fix `unsafe` `evaluate` of `AST_Array` (#2825)Alex Lam S.L
fixes #2822
2018-01-19enable `unsafe` for `test/ufuzz.js` (#2819)Alex Lam S.L
- introduce `unsafe_undefined` - safer `.toString()` compression Miscellaneous - rename `unsafe_Function`
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)Alex Lam S.L
fixes #2816
2018-01-19compress `undefined` property names (#2811)Alex Lam S.L
- enforce property names as string - handle `void 0` as `undefined` in `hoist_props` & `reduce_vars`
2018-01-18fix `join_vars` property assignment for negative array index (#2810)kzc
fixes #2790
2018-01-18faster output of comments (#2806)Alex Lam S.L
2018-01-17fix `AST_Scope.clone()` (#2803)Alex Lam S.L
fixes #2799
2018-01-17suppress `unsafe_proto` for LHS expressions (#2804)Alex Lam S.L