| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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/crankshaft/typing.h" | 5 #include "src/crankshaft/typing.h" |
| 6 | 6 |
| 7 #include "src/ast/scopes.h" | 7 #include "src/ast/scopes.h" |
| 8 #include "src/frames.h" | 8 #include "src/frames.h" |
| 9 #include "src/frames-inl.h" | 9 #include "src/frames-inl.h" |
| 10 #include "src/ostreams.h" | 10 #include "src/ostreams.h" |
| (...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 763 | 763 |
| 764 void AstTyper::VisitThisFunction(ThisFunction* expr) {} | 764 void AstTyper::VisitThisFunction(ThisFunction* expr) {} |
| 765 | 765 |
| 766 | 766 |
| 767 void AstTyper::VisitSuperPropertyReference(SuperPropertyReference* expr) {} | 767 void AstTyper::VisitSuperPropertyReference(SuperPropertyReference* expr) {} |
| 768 | 768 |
| 769 | 769 |
| 770 void AstTyper::VisitSuperCallReference(SuperCallReference* expr) {} | 770 void AstTyper::VisitSuperCallReference(SuperCallReference* expr) {} |
| 771 | 771 |
| 772 | 772 |
| 773 void AstTyper::VisitRewritableExpression(RewritableExpression* expr) { | 773 void AstTyper::VisitRewritableAssignmentExpression( |
| 774 RewritableAssignmentExpression* expr) { |
| 774 Visit(expr->expression()); | 775 Visit(expr->expression()); |
| 775 } | 776 } |
| 776 | 777 |
| 777 | 778 |
| 778 void AstTyper::VisitDeclarations(ZoneList<Declaration*>* decls) { | 779 void AstTyper::VisitDeclarations(ZoneList<Declaration*>* decls) { |
| 779 for (int i = 0; i < decls->length(); ++i) { | 780 for (int i = 0; i < decls->length(); ++i) { |
| 780 Declaration* decl = decls->at(i); | 781 Declaration* decl = decls->at(i); |
| 781 RECURSE(Visit(decl)); | 782 RECURSE(Visit(decl)); |
| 782 } | 783 } |
| 783 } | 784 } |
| (...skipping 11 matching lines...) Expand all Loading... |
| 795 void AstTyper::VisitImportDeclaration(ImportDeclaration* declaration) { | 796 void AstTyper::VisitImportDeclaration(ImportDeclaration* declaration) { |
| 796 } | 797 } |
| 797 | 798 |
| 798 | 799 |
| 799 void AstTyper::VisitExportDeclaration(ExportDeclaration* declaration) { | 800 void AstTyper::VisitExportDeclaration(ExportDeclaration* declaration) { |
| 800 } | 801 } |
| 801 | 802 |
| 802 | 803 |
| 803 } // namespace internal | 804 } // namespace internal |
| 804 } // namespace v8 | 805 } // namespace v8 |
| OLD | NEW |