| Index: src/prettyprinter.cc
|
| ===================================================================
|
| --- src/prettyprinter.cc (revision 9281)
|
| +++ src/prettyprinter.cc (working copy)
|
| @@ -372,13 +372,6 @@
|
| }
|
|
|
|
|
| -void PrettyPrinter::VisitCompareToNull(CompareToNull* node) {
|
| - Print("(");
|
| - Visit(node->expression());
|
| - Print("%s null)", Token::String(node->op()));
|
| -}
|
| -
|
| -
|
| void PrettyPrinter::VisitThisFunction(ThisFunction* node) {
|
| Print("<this-function>");
|
| }
|
| @@ -1020,15 +1013,6 @@
|
| }
|
|
|
|
|
| -void AstPrinter::VisitCompareToNull(CompareToNull* node) {
|
| - const char* name = node->is_strict()
|
| - ? "COMPARE-TO-NULL-STRICT"
|
| - : "COMPARE-TO-NULL";
|
| - IndentedScope indent(this, name, node);
|
| - Visit(node->expression());
|
| -}
|
| -
|
| -
|
| void AstPrinter::VisitThisFunction(ThisFunction* node) {
|
| IndentedScope indent(this, "THIS-FUNCTION");
|
| }
|
| @@ -1404,16 +1388,6 @@
|
| }
|
|
|
|
|
| -void JsonAstBuilder::VisitCompareToNull(CompareToNull* expr) {
|
| - TagScope tag(this, "CompareToNull");
|
| - {
|
| - AttributesScope attributes(this);
|
| - AddAttribute("is_strict", expr->is_strict());
|
| - }
|
| - Visit(expr->expression());
|
| -}
|
| -
|
| -
|
| void JsonAstBuilder::VisitThisFunction(ThisFunction* expr) {
|
| TagScope tag(this, "ThisFunction");
|
| }
|
|
|