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

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

Issue 2557593004: [ignition] desugar GetIterator() via bytecode rather than via AST (Closed)
Patch Set: georg's comments Created 4 years 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/crankshaft/typing.cc ('k') | src/interpreter/bytecode-array-builder.h » ('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 1428 matching lines...) Expand 10 before | Expand all | Expand 10 after
1439 } 1439 }
1440 } 1440 }
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 1450
1450 void FullCodeGenerator::VisitRewritableExpression(RewritableExpression* expr) { 1451 void FullCodeGenerator::VisitRewritableExpression(RewritableExpression* expr) {
1451 Visit(expr->expression()); 1452 Visit(expr->expression());
1452 } 1453 }
1453 1454
1454 1455
1455 bool FullCodeGenerator::TryLiteralCompare(CompareOperation* expr) { 1456 bool FullCodeGenerator::TryLiteralCompare(CompareOperation* expr) {
1456 Expression* sub_expr; 1457 Expression* sub_expr;
1457 Handle<String> check; 1458 Handle<String> check;
1458 if (expr->IsLiteralCompareTypeof(&sub_expr, &check)) { 1459 if (expr->IsLiteralCompareTypeof(&sub_expr, &check)) {
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
1603 return info_->has_simple_parameters(); 1604 return info_->has_simple_parameters();
1604 } 1605 }
1605 1606
1606 FunctionLiteral* FullCodeGenerator::literal() const { return info_->literal(); } 1607 FunctionLiteral* FullCodeGenerator::literal() const { return info_->literal(); }
1607 1608
1608 #undef __ 1609 #undef __
1609 1610
1610 1611
1611 } // namespace internal 1612 } // namespace internal
1612 } // namespace v8 1613 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/typing.cc ('k') | src/interpreter/bytecode-array-builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698