Skip to content

Commit 7edb75d

Browse files
committed
pref(es/minifier): rm useless compute bitflags
1 parent 40a1e2e commit 7edb75d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

crates/swc_ecma_minifier/src/program_data.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -560,9 +560,7 @@ impl ScopeDataLike for ScopeData {
560560
fn add_declared_symbol(&mut self, _: &Ident) {}
561561

562562
fn merge(&mut self, other: Self, _: bool) {
563-
*self |= other & Self::HAS_WITH_STMT;
564-
*self |= other & Self::HAS_EVAL_CALL;
565-
*self |= other & Self::USED_ARGUMENTS;
563+
*self |= other;
566564
}
567565

568566
fn mark_used_arguments(&mut self) {

0 commit comments

Comments
 (0)