aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/compress.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compress.js b/lib/compress.js
index d5334a95..81511535 100644
--- a/lib/compress.js
+++ b/lib/compress.js
@@ -6169,7 +6169,7 @@ merge(Compressor.prototype, {
var def = sym.definition();
if (def.scope !== self) {
var d = find_variable(sym.name);
- if ((d && d.redefined() || d) === def) return;
+ if (d === def || d && d.redefined() === def) return;
}
node.object.walk(tw);
return true;