| Index: src/prettyprinter.cc
|
| diff --git a/src/prettyprinter.cc b/src/prettyprinter.cc
|
| index b1bac4cd4a70028d00151504d084303d5741e16f..14ad707da7ca917a7a5524d177ba71f55dbfb236 100644
|
| --- a/src/prettyprinter.cc
|
| +++ b/src/prettyprinter.cc
|
| @@ -297,10 +297,9 @@ void PrettyPrinter::VisitFunctionLiteral(FunctionLiteral* node) {
|
| }
|
|
|
|
|
| -void PrettyPrinter::VisitSharedFunctionInfoLiteral(
|
| - SharedFunctionInfoLiteral* node) {
|
| +void PrettyPrinter::VisitNativeFunctionLiteral(NativeFunctionLiteral* node) {
|
| Print("(");
|
| - PrintLiteral(node->shared_function_info(), true);
|
| + PrintLiteral(node->name(), false);
|
| Print(")");
|
| }
|
|
|
| @@ -982,10 +981,9 @@ void AstPrinter::VisitFunctionLiteral(FunctionLiteral* node) {
|
| }
|
|
|
|
|
| -void AstPrinter::VisitSharedFunctionInfoLiteral(
|
| - SharedFunctionInfoLiteral* node) {
|
| - IndentedScope indent(this, "FUNC LITERAL");
|
| - PrintLiteralIndented("SHARED INFO", node->shared_function_info(), true);
|
| +void AstPrinter::VisitNativeFunctionLiteral(NativeFunctionLiteral* node) {
|
| + IndentedScope indent(this, "NATIVE FUNC LITERAL");
|
| + PrintLiteralIndented("NAME", node->name(), false);
|
| }
|
|
|
|
|
|
|