swc/crates/swc_ecma_minifier/tests/terser/compress/loops
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
..
dead_code_condition feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
do_switch feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
drop_if_break_1 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
drop_if_break_2 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
drop_if_break_3 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
drop_if_break_4 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
drop_if_else_break_1 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
drop_if_else_break_2 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
drop_if_else_break_3 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
drop_if_else_break_4 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
evaluate feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
in_parenthesis_1 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
in_parenthesis_2 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
init_side_effects feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
issue_186 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_186_beautify feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_186_beautify_braces feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_186_beautify_braces_ie8 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_186_beautify_ie8 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_186_braces feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_186_braces_ie8 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_186_ie8 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_1532 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
issue_1648 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_2740_1 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_2740_2 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
issue_2740_3 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
issue_2740_4 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
issue_2740_5 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
issue_2740_6 feat(es/minifier): Consider char frequencies (#5375) 2022-08-03 10:20:17 +00:00
issue_2740_7 feat(es/minifier): Consider char frequencies (#5375) 2022-08-03 10:20:17 +00:00
issue_2740_8 feat(es/minifier): Consider char frequencies (#5375) 2022-08-03 10:20:17 +00:00
issue_2904 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
keep_collapse_const_in_own_block_scope feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
keep_collapse_const_in_own_block_scope_2 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
parse_do_while_with_semicolon feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
parse_do_while_without_semicolon feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
while_becomes_for feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00