summaryrefslogtreecommitdiff
path: root/deps/v8/src/prettyprinter.cc
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2013-02-25 22:45:23 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2013-02-25 23:45:02 +0100
commitb15a10e7a014674ef6f71c51ad84032fb7b802e2 (patch)
tree3bb04a6cb05c7a37c385eda4521b8a9e7bcd736f /deps/v8/src/prettyprinter.cc
parent34046084c0665c8bb2dfd84683dcf29d7ffbad2d (diff)
downloadnode-new-b15a10e7a014674ef6f71c51ad84032fb7b802e2.tar.gz
deps: downgrade v8 to 3.14.5
V8 3.15 and newer have stability and performance issues. Roll back to a known-good version.
Diffstat (limited to 'deps/v8/src/prettyprinter.cc')
-rw-r--r--deps/v8/src/prettyprinter.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/deps/v8/src/prettyprinter.cc b/deps/v8/src/prettyprinter.cc
index 602fbb40b9..0d8dadce1a 100644
--- a/deps/v8/src/prettyprinter.cc
+++ b/deps/v8/src/prettyprinter.cc
@@ -122,14 +122,6 @@ void PrettyPrinter::VisitModuleUrl(ModuleUrl* node) {
}
-void PrettyPrinter::VisitModuleStatement(ModuleStatement* node) {
- Print("module ");
- PrintLiteral(node->proxy()->name(), false);
- Print(" ");
- Visit(node->body());
-}
-
-
void PrettyPrinter::VisitExpressionStatement(ExpressionStatement* node) {
Visit(node->expression());
Print(";");
@@ -830,13 +822,6 @@ void AstPrinter::VisitModuleUrl(ModuleUrl* node) {
}
-void AstPrinter::VisitModuleStatement(ModuleStatement* node) {
- IndentedScope indent(this, "MODULE");
- PrintLiteralIndented("NAME", node->proxy()->name(), true);
- PrintStatements(node->body()->statements());
-}
-
-
void AstPrinter::VisitExpressionStatement(ExpressionStatement* node) {
Visit(node->expression());
}