| Index: src/rewriter.cc
|
| diff --git a/src/rewriter.cc b/src/rewriter.cc
|
| index e8ca5b9de67983a1a7cf368d349c582a316fbf96..ad6ce056b2c85228a3772af4a3daa3a444f66b79 100644
|
| --- a/src/rewriter.cc
|
| +++ b/src/rewriter.cc
|
| @@ -197,13 +197,17 @@ void Processor::VisitBreakStatement(BreakStatement* node) {
|
| }
|
|
|
|
|
| +void Processor::VisitWithStatement(WithStatement* node) {
|
| + bool set_after_body = is_set_;
|
| + Visit(node->statement());
|
| + is_set_ = is_set_ && set_after_body;
|
| +}
|
| +
|
| +
|
| // Do nothing:
|
| void Processor::VisitDeclaration(Declaration* node) {}
|
| void Processor::VisitEmptyStatement(EmptyStatement* node) {}
|
| void Processor::VisitReturnStatement(ReturnStatement* node) {}
|
| -void Processor::VisitEnterWithContextStatement(
|
| - EnterWithContextStatement* node) {
|
| -}
|
| void Processor::VisitExitContextStatement(ExitContextStatement* node) {}
|
| void Processor::VisitDebuggerStatement(DebuggerStatement* node) {}
|
|
|
|
|