aboutsummaryrefslogtreecommitdiff
path: root/lib/compress.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compress.js')
-rw-r--r--lib/compress.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/compress.js b/lib/compress.js
index d439ed4c..792d5ab2 100644
--- a/lib/compress.js
+++ b/lib/compress.js
@@ -587,7 +587,10 @@ merge(Compressor.prototype, {
d.assignments++;
var fixed = d.fixed;
var value = eq ? node.right : node;
- if (is_modified(compressor, tw, node, value, 0)) return;
+ if (is_modified(compressor, tw, node, value, 0)) {
+ d.fixed = false;
+ return;
+ }
var safe = eq || safe_to_read(tw, d);
node.right.walk(tw);
if (safe && safe_to_assign(tw, d)) {