[AST_Hole] the print function can be a no-op.

This commit is contained in:
Mihai Bazon
2013-01-17 11:16:55 +02:00
parent 1529ab965a
commit faa354f5ca

View File

@@ -1035,9 +1035,7 @@ function OutputStream(options) {
DEFPRINT(AST_Undefined, function(self, output){
output.print("void 0");
});
DEFPRINT(AST_Hole, function(self, output){
output.print("");
});
DEFPRINT(AST_Hole, noop);
DEFPRINT(AST_Infinity, function(self, output){
output.print("1/0");
});