diff options
Diffstat (limited to 'lib/compress.js')
-rw-r--r-- | lib/compress.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/compress.js b/lib/compress.js index ee80901e..73cc9d7b 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -4913,9 +4913,8 @@ merge(Compressor.prototype, { if (reachable) return true; if (node instanceof AST_Scope && node !== self) { var parent = scan_scope.parent(); - if (!(parent instanceof AST_Call && parent.expression === node)) { - node.walk(find_ref); - } + if (parent instanceof AST_Call && parent.expression === node) return; + node.walk(find_ref); return true; } }); |