fix crash: Import statements don't abort

This commit is contained in:
Fábio Santos 2016-02-27 13:27:18 +00:00 committed by Burak Can
parent a3f094013d
commit 41f8fcb46f

View File

@ -1203,6 +1203,7 @@ merge(Compressor.prototype, {
var n = this.body.length;
return n > 0 && aborts(this.body[n - 1]);
};
def(AST_Import, function(){ return null; });
def(AST_BlockStatement, block_aborts);
def(AST_SwitchBranch, block_aborts);
def(AST_If, function(){