aboutsummaryrefslogtreecommitdiff
path: root/lib/compress.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compress.js')
-rw-r--r--lib/compress.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/compress.js b/lib/compress.js
index 0369b63d..591ad4dd 100644
--- a/lib/compress.js
+++ b/lib/compress.js
@@ -771,8 +771,7 @@ merge(Compressor.prototype, {
}
var d = sym.definition();
d.assignments++;
- if (!is_modified(compressor, tw, node, node.right, 0)
- && can_drop_symbol(sym) && safe_to_assign(tw, d)) {
+ if (!is_modified(compressor, tw, node, node.right, 0) && safe_to_assign(tw, d)) {
push_ref(d, sym);
mark(tw, d);
if (d.single_use && left instanceof AST_Destructured) d.single_use = false;