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 1430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1441 | 1441 |
1442 void FullCodeGenerator::VisitSpread(Spread* expr) { UNREACHABLE(); } | 1442 void FullCodeGenerator::VisitSpread(Spread* expr) { UNREACHABLE(); } |
1443 | 1443 |
1444 | 1444 |
1445 void FullCodeGenerator::VisitEmptyParentheses(EmptyParentheses* expr) { | 1445 void FullCodeGenerator::VisitEmptyParentheses(EmptyParentheses* expr) { |
1446 UNREACHABLE(); | 1446 UNREACHABLE(); |
1447 } | 1447 } |
1448 | 1448 |
1449 void FullCodeGenerator::VisitGetIterator(GetIterator* expr) { UNREACHABLE(); } | 1449 void FullCodeGenerator::VisitGetIterator(GetIterator* expr) { UNREACHABLE(); } |
1450 | 1450 |
| 1451 void FullCodeGenerator::VisitImportCallExpression(ImportCallExpression* expr) { |
| 1452 UNREACHABLE(); |
| 1453 } |
| 1454 |
1451 void FullCodeGenerator::VisitRewritableExpression(RewritableExpression* expr) { | 1455 void FullCodeGenerator::VisitRewritableExpression(RewritableExpression* expr) { |
1452 Visit(expr->expression()); | 1456 Visit(expr->expression()); |
1453 } | 1457 } |
1454 | 1458 |
1455 | 1459 |
1456 bool FullCodeGenerator::TryLiteralCompare(CompareOperation* expr) { | 1460 bool FullCodeGenerator::TryLiteralCompare(CompareOperation* expr) { |
1457 Expression* sub_expr; | 1461 Expression* sub_expr; |
1458 Literal* literal; | 1462 Literal* literal; |
1459 if (expr->IsLiteralCompareTypeof(&sub_expr, &literal)) { | 1463 if (expr->IsLiteralCompareTypeof(&sub_expr, &literal)) { |
1460 SetExpressionPosition(expr); | 1464 SetExpressionPosition(expr); |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1609 | 1613 |
1610 const FeedbackVectorSpec* FullCodeGenerator::feedback_vector_spec() const { | 1614 const FeedbackVectorSpec* FullCodeGenerator::feedback_vector_spec() const { |
1611 return literal()->feedback_vector_spec(); | 1615 return literal()->feedback_vector_spec(); |
1612 } | 1616 } |
1613 | 1617 |
1614 #undef __ | 1618 #undef __ |
1615 | 1619 |
1616 | 1620 |
1617 } // namespace internal | 1621 } // namespace internal |
1618 } // namespace v8 | 1622 } // namespace v8 |
OLD | NEW |