enhance inline (#5871)
This commit is contained in:
@@ -14250,11 +14250,12 @@ Compressor.prototype.compress = function(node) {
|
|||||||
stat.walk(new TreeWalker(function(node) {
|
stat.walk(new TreeWalker(function(node) {
|
||||||
if (abort) return true;
|
if (abort) return true;
|
||||||
if (node instanceof AST_Try) {
|
if (node instanceof AST_Try) {
|
||||||
if (node.bfinally && all(node.body, function(stat) {
|
if (!node.bfinally) return;
|
||||||
|
if (all(node.body, function(stat) {
|
||||||
stat.walk(find_return);
|
stat.walk(find_return);
|
||||||
return !abort;
|
return !abort;
|
||||||
}) && node.bcatch) node.bcatch.walk(find_return);
|
}) && node.bcatch) node.bcatch.walk(find_return);
|
||||||
return;
|
return true;
|
||||||
}
|
}
|
||||||
if (node instanceof AST_Scope) return true;
|
if (node instanceof AST_Scope) return true;
|
||||||
}));
|
}));
|
||||||
|
|||||||
Reference in New Issue
Block a user