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