swc/crates/swc_ecma_minifier/tests/terser/compress/switch
Austaras ee26337a25
feat(es/minifier): Inline lazily initialized variables (#5737)
Safety:

For a function-local variable, an expression with side-effects would be a call, including an indirect one with a member expression.

 - If the call is function-local, it will be analyzed by the analyzer and inliner will not work.
 - If the call is not a function-local one, it cannot modify the local variable.
2022-09-08 08:07:43 +00:00
..
beautify feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
constant_switch_1 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
constant_switch_2 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
constant_switch_3 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
constant_switch_4 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
constant_switch_5 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
constant_switch_6 test(es/minifier): Add snapshots for the mangler (#4823) 2022-05-27 07:32:23 +00:00
constant_switch_7 fix(es/minifier): Inline vars declared in conditional paths (#5392) 2022-08-05 13:25:28 +00:00
constant_switch_8 test(es/minifier): Add snapshots for the mangler (#4823) 2022-05-27 07:32:23 +00:00
constant_switch_9 test(es/minifier): Add snapshots for the mangler (#4823) 2022-05-27 07:32:23 +00:00
drop_case feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
drop_case_2 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
drop_default_1 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
drop_default_2 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
gut_entire_switch feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
gut_entire_switch_2 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
if_else feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
if_else2 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
if_else3 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
if_else4 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
if_else5 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
if_else6 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
if_else7 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
if_else8 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
if_switch_typeof feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_376 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
issue_441_1 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
issue_441_2 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
issue_445 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_1083_1 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
issue_1083_2 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
issue_1083_3 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
issue_1083_4 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
issue_1083_5 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
issue_1083_6 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
issue_1663 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
issue_1674 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_1679 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
issue_1680_1 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_1680_2 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
issue_1690_1 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_1690_2 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_1698 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_1705_1 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_1705_2 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_1705_3 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_1750 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
issue_1758 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_2535 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
keep_case feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
keep_default feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
turn_into_if feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
turn_into_if_2 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00