| Index: src/full-codegen.cc
|
| diff --git a/src/full-codegen.cc b/src/full-codegen.cc
|
| index 5140d8cd9e7a75a2f350ac890e1a73567c67a141..05af8fa4ecea35f6fa12d578bdc4e3c8846bc681 100644
|
| --- a/src/full-codegen.cc
|
| +++ b/src/full-codegen.cc
|
| @@ -164,8 +164,8 @@ void BreakableStatementChecker::VisitForInStatement(ForInStatement* stmt) {
|
|
|
|
|
| void BreakableStatementChecker::VisitForOfStatement(ForOfStatement* stmt) {
|
| - // Mark for in statements breakable if the iterable expression is.
|
| - Visit(stmt->iterable());
|
| + // For-of is breakable because of the next() call.
|
| + is_breakable_ = true;
|
| }
|
|
|
|
|
| @@ -1392,10 +1392,6 @@ void FullCodeGenerator::VisitForStatement(ForStatement* stmt) {
|
| }
|
|
|
|
|
| -void FullCodeGenerator::VisitForOfStatement(ForOfStatement* stmt) {
|
| -}
|
| -
|
| -
|
| void FullCodeGenerator::VisitTryCatchStatement(TryCatchStatement* stmt) {
|
| Comment cmnt(masm_, "[ TryCatchStatement");
|
| SetStatementPosition(stmt);
|
|
|