aboutsummaryrefslogtreecommitdiff
path: root/lib/compress.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compress.js')
-rw-r--r--lib/compress.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compress.js b/lib/compress.js
index e6a064dd..5d14963f 100644
--- a/lib/compress.js
+++ b/lib/compress.js
@@ -1395,7 +1395,7 @@ merge(Compressor.prototype, {
var rhs_fn = scan_rhs;
for (var i = 0; !abort && i < fn.body.length; i++) {
var stat = fn.body[i];
- if (stat instanceof AST_Exit) {
+ if (stat instanceof AST_Return) {
if (stat.value) stat.value.transform(scanner);
break;
}