OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/ast.h" | 7 #include "src/ast.h" |
8 #include "src/ast-numbering.h" | 8 #include "src/ast-numbering.h" |
9 #include "src/code-factory.h" | 9 #include "src/code-factory.h" |
10 #include "src/codegen.h" | 10 #include "src/codegen.h" |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 } | 260 } |
261 } | 261 } |
262 | 262 |
263 | 263 |
264 void BreakableStatementChecker::VisitCompareOperation(CompareOperation* expr) { | 264 void BreakableStatementChecker::VisitCompareOperation(CompareOperation* expr) { |
265 Visit(expr->left()); | 265 Visit(expr->left()); |
266 Visit(expr->right()); | 266 Visit(expr->right()); |
267 } | 267 } |
268 | 268 |
269 | 269 |
270 void BreakableStatementChecker::VisitSpread(Spread* expr) { UNREACHABLE(); } | 270 void BreakableStatementChecker::VisitSpread(Spread* expr) { |
| 271 Visit(expr->expression()); |
| 272 } |
271 | 273 |
272 | 274 |
273 void BreakableStatementChecker::VisitThisFunction(ThisFunction* expr) { | 275 void BreakableStatementChecker::VisitThisFunction(ThisFunction* expr) { |
274 } | 276 } |
275 | 277 |
276 | 278 |
277 void BreakableStatementChecker::VisitSuperReference(SuperReference* expr) {} | 279 void BreakableStatementChecker::VisitSuperReference(SuperReference* expr) {} |
278 | 280 |
279 | 281 |
280 #define __ ACCESS_MASM(masm()) | 282 #define __ ACCESS_MASM(masm()) |
(...skipping 1352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1633 } | 1635 } |
1634 codegen_->PrepareForBailoutForId(exit_id_, NO_REGISTERS); | 1636 codegen_->PrepareForBailoutForId(exit_id_, NO_REGISTERS); |
1635 codegen_->scope_ = saved_scope_; | 1637 codegen_->scope_ = saved_scope_; |
1636 } | 1638 } |
1637 | 1639 |
1638 | 1640 |
1639 #undef __ | 1641 #undef __ |
1640 | 1642 |
1641 | 1643 |
1642 } } // namespace v8::internal | 1644 } } // namespace v8::internal |
OLD | NEW |