Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index 972bdf05e20e8205d1d76330ddd3c083a3a61693..cc97e9e84b10045f385ae7daff4b2183a54e2a98 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -96,8 +96,8 @@ void BreakableStatementChecker::VisitWithEnterStatement( |
} |
-void BreakableStatementChecker::VisitWithExitStatement( |
- WithExitStatement* stmt) { |
+void BreakableStatementChecker::VisitContextExitStatement( |
+ ContextExitStatement* stmt) { |
} |
@@ -957,13 +957,13 @@ void FullCodeGenerator::VisitWithEnterStatement(WithEnterStatement* stmt) { |
SetStatementPosition(stmt); |
VisitForStackValue(stmt->expression()); |
- __ CallRuntime(Runtime::kPushContext, 1); |
+ __ CallRuntime(Runtime::kPushWithContext, 1); |
StoreToFrameField(StandardFrameConstants::kContextOffset, context_register()); |
} |
-void FullCodeGenerator::VisitWithExitStatement(WithExitStatement* stmt) { |
- Comment cmnt(masm_, "[ WithExitStatement"); |
+void FullCodeGenerator::VisitContextExitStatement(ContextExitStatement* stmt) { |
+ Comment cmnt(masm_, "[ ContextExitStatement"); |
SetStatementPosition(stmt); |
// Pop context. |