| 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/full-codegen/full-codegen.h" | 5 #include "src/full-codegen/full-codegen.h" |
| 6 | 6 |
| 7 #include "src/ast/ast-numbering.h" | 7 #include "src/ast/ast-numbering.h" |
| 8 #include "src/ast/ast.h" | 8 #include "src/ast/ast.h" |
| 9 #include "src/ast/prettyprinter.h" | 9 #include "src/ast/prettyprinter.h" |
| 10 #include "src/ast/scopes.h" | 10 #include "src/ast/scopes.h" |
| (...skipping 1420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1431 | 1431 |
| 1432 void FullCodeGenerator::VisitSpread(Spread* expr) { UNREACHABLE(); } | 1432 void FullCodeGenerator::VisitSpread(Spread* expr) { UNREACHABLE(); } |
| 1433 | 1433 |
| 1434 | 1434 |
| 1435 void FullCodeGenerator::VisitEmptyParentheses(EmptyParentheses* expr) { | 1435 void FullCodeGenerator::VisitEmptyParentheses(EmptyParentheses* expr) { |
| 1436 UNREACHABLE(); | 1436 UNREACHABLE(); |
| 1437 } | 1437 } |
| 1438 | 1438 |
| 1439 void FullCodeGenerator::VisitGetIterator(GetIterator* expr) { UNREACHABLE(); } | 1439 void FullCodeGenerator::VisitGetIterator(GetIterator* expr) { UNREACHABLE(); } |
| 1440 | 1440 |
| 1441 void FullCodeGenerator::VisitImportCallExpression(ImportCallExpression* expr) { |
| 1442 UNREACHABLE(); |
| 1443 } |
| 1444 |
| 1441 void FullCodeGenerator::VisitRewritableExpression(RewritableExpression* expr) { | 1445 void FullCodeGenerator::VisitRewritableExpression(RewritableExpression* expr) { |
| 1442 Visit(expr->expression()); | 1446 Visit(expr->expression()); |
| 1443 } | 1447 } |
| 1444 | 1448 |
| 1445 | 1449 |
| 1446 bool FullCodeGenerator::TryLiteralCompare(CompareOperation* expr) { | 1450 bool FullCodeGenerator::TryLiteralCompare(CompareOperation* expr) { |
| 1447 Expression* sub_expr; | 1451 Expression* sub_expr; |
| 1448 Literal* literal; | 1452 Literal* literal; |
| 1449 if (expr->IsLiteralCompareTypeof(&sub_expr, &literal)) { | 1453 if (expr->IsLiteralCompareTypeof(&sub_expr, &literal)) { |
| 1450 SetExpressionPosition(expr); | 1454 SetExpressionPosition(expr); |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1599 | 1603 |
| 1600 const FeedbackVectorSpec* FullCodeGenerator::feedback_vector_spec() const { | 1604 const FeedbackVectorSpec* FullCodeGenerator::feedback_vector_spec() const { |
| 1601 return literal()->feedback_vector_spec(); | 1605 return literal()->feedback_vector_spec(); |
| 1602 } | 1606 } |
| 1603 | 1607 |
| 1604 #undef __ | 1608 #undef __ |
| 1605 | 1609 |
| 1606 | 1610 |
| 1607 } // namespace internal | 1611 } // namespace internal |
| 1608 } // namespace v8 | 1612 } // namespace v8 |
| OLD | NEW |