| 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 1428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |