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

Side by Side Diff: src/typing.cc

Issue 1106383008: Remove unused Module-related AST nodes and associated codegen (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 months 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/rewriter.cc ('k') | src/x64/full-codegen-x64.cc » ('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/typing.h" 5 #include "src/typing.h"
6 6
7 #include "src/frames.h" 7 #include "src/frames.h"
8 #include "src/frames-inl.h" 8 #include "src/frames-inl.h"
9 #include "src/ostreams.h" 9 #include "src/ostreams.h"
10 #include "src/parser.h" // for CompileTimeValue; TODO(rossberg): should move 10 #include "src/parser.h" // for CompileTimeValue; TODO(rossberg): should move
(...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 789
790 void AstTyper::VisitVariableDeclaration(VariableDeclaration* declaration) { 790 void AstTyper::VisitVariableDeclaration(VariableDeclaration* declaration) {
791 } 791 }
792 792
793 793
794 void AstTyper::VisitFunctionDeclaration(FunctionDeclaration* declaration) { 794 void AstTyper::VisitFunctionDeclaration(FunctionDeclaration* declaration) {
795 RECURSE(Visit(declaration->fun())); 795 RECURSE(Visit(declaration->fun()));
796 } 796 }
797 797
798 798
799 void AstTyper::VisitModuleDeclaration(ModuleDeclaration* declaration) {
800 RECURSE(Visit(declaration->module()));
801 }
802
803
804 void AstTyper::VisitImportDeclaration(ImportDeclaration* declaration) { 799 void AstTyper::VisitImportDeclaration(ImportDeclaration* declaration) {
805 } 800 }
806 801
807 802
808 void AstTyper::VisitExportDeclaration(ExportDeclaration* declaration) { 803 void AstTyper::VisitExportDeclaration(ExportDeclaration* declaration) {
809 } 804 }
810 805
811 806
812 void AstTyper::VisitModuleLiteral(ModuleLiteral* module) {
813 RECURSE(Visit(module->body()));
814 }
815
816
817 void AstTyper::VisitModulePath(ModulePath* module) {
818 RECURSE(Visit(module->module()));
819 }
820
821
822 void AstTyper::VisitModuleUrl(ModuleUrl* module) {
823 }
824
825
826 void AstTyper::VisitModuleStatement(ModuleStatement* stmt) {
827 RECURSE(Visit(stmt->body()));
828 }
829
830
831 } } // namespace v8::internal 807 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/rewriter.cc ('k') | src/x64/full-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698