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 void AstTyper::VisitThisFunction(ThisFunction* expr) { | 763 void AstTyper::VisitThisFunction(ThisFunction* expr) { |
764 } | 764 } |
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::VisitRewritableAssignmentExpression( |
| 774 RewritableAssignmentExpression* expr) { |
| 775 Visit(expr->expression()); |
| 776 } |
| 777 |
| 778 |
773 void AstTyper::VisitDeclarations(ZoneList<Declaration*>* decls) { | 779 void AstTyper::VisitDeclarations(ZoneList<Declaration*>* decls) { |
774 for (int i = 0; i < decls->length(); ++i) { | 780 for (int i = 0; i < decls->length(); ++i) { |
775 Declaration* decl = decls->at(i); | 781 Declaration* decl = decls->at(i); |
776 RECURSE(Visit(decl)); | 782 RECURSE(Visit(decl)); |
777 } | 783 } |
778 } | 784 } |
779 | 785 |
780 | 786 |
781 void AstTyper::VisitVariableDeclaration(VariableDeclaration* declaration) { | 787 void AstTyper::VisitVariableDeclaration(VariableDeclaration* declaration) { |
782 } | 788 } |
783 | 789 |
784 | 790 |
785 void AstTyper::VisitFunctionDeclaration(FunctionDeclaration* declaration) { | 791 void AstTyper::VisitFunctionDeclaration(FunctionDeclaration* declaration) { |
786 RECURSE(Visit(declaration->fun())); | 792 RECURSE(Visit(declaration->fun())); |
787 } | 793 } |
788 | 794 |
789 | 795 |
790 void AstTyper::VisitImportDeclaration(ImportDeclaration* declaration) { | 796 void AstTyper::VisitImportDeclaration(ImportDeclaration* declaration) { |
791 } | 797 } |
792 | 798 |
793 | 799 |
794 void AstTyper::VisitExportDeclaration(ExportDeclaration* declaration) { | 800 void AstTyper::VisitExportDeclaration(ExportDeclaration* declaration) { |
795 } | 801 } |
796 | 802 |
797 | 803 |
798 } // namespace internal | 804 } // namespace internal |
799 } // namespace v8 | 805 } // namespace v8 |
OLD | NEW |