Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(904)

Side by Side Diff: src/full-codegen/full-codegen.cc

Issue 2703563002: [ESNext] Implement DynamicImportCall (Closed)
Patch Set: rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/factory.cc ('k') | src/interpreter/bytecode-generator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/interpreter/bytecode-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698