minor AST cleanup (AST_BlockStatement may inherit from AST_Block)

This commit is contained in:
Mihai Bazon
2012-10-09 13:52:32 +03:00
parent e1862cd36f
commit 9ead49641d
3 changed files with 17 additions and 30 deletions

View File

@@ -93,10 +93,6 @@ TreeTransformer.prototype = new TreeWalker;
self.body = self.body.transform(tw);
});
_(AST_BlockStatement, function(self, tw){
self.body = do_list(self.body, tw);
});
_(AST_Block, function(self, tw){
self.body = do_list(self.body, tw);
});