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 Richard van Velzen
parent 0bc4f6edb4
commit accca2445f

View File

@@ -1025,6 +1025,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(){