more cleanup (dropped AST_SwitchBlock)
This commit is contained in:
@@ -1181,7 +1181,7 @@ merge(Compressor.prototype, {
|
||||
});
|
||||
|
||||
OPT(AST_Switch, function(self, compressor){
|
||||
var last_branch = self.body.body[self.body.body.length - 1];
|
||||
var last_branch = self.body[self.body.length - 1];
|
||||
if (last_branch) {
|
||||
var stat = last_branch.body[last_branch.body.length - 1]; // last statement
|
||||
if (stat instanceof AST_Break && !stat.label)
|
||||
|
||||
Reference in New Issue
Block a user