| 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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 } | 285 } |
| 286 } | 286 } |
| 287 | 287 |
| 288 | 288 |
| 289 void BreakableStatementChecker::VisitCompareOperation(CompareOperation* expr) { | 289 void BreakableStatementChecker::VisitCompareOperation(CompareOperation* expr) { |
| 290 Visit(expr->left()); | 290 Visit(expr->left()); |
| 291 Visit(expr->right()); | 291 Visit(expr->right()); |
| 292 } | 292 } |
| 293 | 293 |
| 294 | 294 |
| 295 void BreakableStatementChecker::VisitSpreadOperation(SpreadOperation* expr) { |
| 296 Visit(expr->expression()); |
| 297 } |
| 298 |
| 299 |
| 295 void BreakableStatementChecker::VisitThisFunction(ThisFunction* expr) { | 300 void BreakableStatementChecker::VisitThisFunction(ThisFunction* expr) { |
| 296 } | 301 } |
| 297 | 302 |
| 298 | 303 |
| 299 void BreakableStatementChecker::VisitSuperReference(SuperReference* expr) {} | 304 void BreakableStatementChecker::VisitSuperReference(SuperReference* expr) {} |
| 300 | 305 |
| 301 | 306 |
| 302 #define __ ACCESS_MASM(masm()) | 307 #define __ ACCESS_MASM(masm()) |
| 303 | 308 |
| 304 bool FullCodeGenerator::MakeCode(CompilationInfo* info) { | 309 bool FullCodeGenerator::MakeCode(CompilationInfo* info) { |
| (...skipping 1524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1829 } | 1834 } |
| 1830 codegen_->PrepareForBailoutForId(exit_id_, NO_REGISTERS); | 1835 codegen_->PrepareForBailoutForId(exit_id_, NO_REGISTERS); |
| 1831 codegen_->scope_ = saved_scope_; | 1836 codegen_->scope_ = saved_scope_; |
| 1832 } | 1837 } |
| 1833 | 1838 |
| 1834 | 1839 |
| 1835 #undef __ | 1840 #undef __ |
| 1836 | 1841 |
| 1837 | 1842 |
| 1838 } } // namespace v8::internal | 1843 } } // namespace v8::internal |
| OLD | NEW |