enhance hoist_vars (#5865)

This commit is contained in:
Alex Lam S.L
2024-06-25 23:56:39 +03:00
committed by GitHub
parent 6669ea19ef
commit ce8ef52e2b
2 changed files with 7 additions and 8 deletions

View File

@@ -10353,7 +10353,6 @@ Compressor.prototype.compress = function(node) {
def.assignments++;
}
def.eliminated++;
def.single_use = false;
return a;
}, []);
if (assignments.length == 0) return null;