Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Unified Diff: src/prettyprinter.cc

Issue 7003058: A collection of context-related refactoring changes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/prettyprinter.cc
diff --git a/src/prettyprinter.cc b/src/prettyprinter.cc
index 0149ed51e29b40c47586c744628a147755a05234..faba43ba36893191d75ad47edb1acd6aa8b05ab2 100644
--- a/src/prettyprinter.cc
+++ b/src/prettyprinter.cc
@@ -130,8 +130,8 @@ void PrettyPrinter::VisitWithEnterStatement(WithEnterStatement* node) {
}
-void PrettyPrinter::VisitWithExitStatement(WithExitStatement* node) {
- Print("<exit with>");
+void PrettyPrinter::VisitContextExitStatement(ContextExitStatement* node) {
+ Print("<exit context>");
}
@@ -802,8 +802,8 @@ void AstPrinter::VisitWithEnterStatement(WithEnterStatement* node) {
}
-void AstPrinter::VisitWithExitStatement(WithExitStatement* node) {
- PrintIndented("WITH EXIT\n");
+void AstPrinter::VisitContextExitStatement(ContextExitStatement* node) {
+ PrintIndented("CONTEXT EXIT\n");
}
@@ -1197,8 +1197,8 @@ void JsonAstBuilder::VisitWithEnterStatement(WithEnterStatement* stmt) {
}
-void JsonAstBuilder::VisitWithExitStatement(WithExitStatement* stmt) {
- TagScope tag(this, "WithExitStatement");
+void JsonAstBuilder::VisitContextExitStatement(ContextExitStatement* stmt) {
+ TagScope tag(this, "ContextExitStatement");
}

Powered by Google App Engine
This is Rietveld 408576698