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

Side by Side Diff: src/crankshaft/typing.cc

Issue 1309813007: [es6] implement destructuring assignment (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase*** oops Created 5 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/hydrogen.cc ('k') | src/flag-definitions.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 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
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
OLDNEW
« no previous file with comments | « src/crankshaft/hydrogen.cc ('k') | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698