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

Side by Side Diff: src/hydrogen.cc

Issue 9496003: AST extensions and parsing for import & export declarations. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 6912 matching lines...) Expand 10 before | Expand all | Expand 10 after
6923 UNREACHABLE(); 6923 UNREACHABLE();
6924 } 6924 }
6925 6925
6926 6926
6927 void HGraphBuilder::VisitFunctionDeclaration(FunctionDeclaration* decl) { 6927 void HGraphBuilder::VisitFunctionDeclaration(FunctionDeclaration* decl) {
6928 UNREACHABLE(); 6928 UNREACHABLE();
6929 } 6929 }
6930 6930
6931 6931
6932 void HGraphBuilder::VisitModuleDeclaration(ModuleDeclaration* decl) { 6932 void HGraphBuilder::VisitModuleDeclaration(ModuleDeclaration* decl) {
6933 // TODO(rossberg) 6933 UNREACHABLE();
6934 } 6934 }
6935 6935
6936 6936
6937 void HGraphBuilder::VisitImportDeclaration(ImportDeclaration* decl) {
6938 UNREACHABLE();
6939 }
6940
6941
6942 void HGraphBuilder::VisitExportDeclaration(ExportDeclaration* decl) {
6943 UNREACHABLE();
6944 }
6945
6946
6937 void HGraphBuilder::VisitModuleLiteral(ModuleLiteral* module) { 6947 void HGraphBuilder::VisitModuleLiteral(ModuleLiteral* module) {
6938 // TODO(rossberg) 6948 // TODO(rossberg)
6939 } 6949 }
6940 6950
6941 6951
6942 void HGraphBuilder::VisitModuleVariable(ModuleVariable* module) { 6952 void HGraphBuilder::VisitModuleVariable(ModuleVariable* module) {
6943 // TODO(rossberg) 6953 // TODO(rossberg)
6944 } 6954 }
6945 6955
6946 6956
(...skipping 1072 matching lines...) Expand 10 before | Expand all | Expand 10 after
8019 } 8029 }
8020 } 8030 }
8021 8031
8022 #ifdef DEBUG 8032 #ifdef DEBUG
8023 if (graph_ != NULL) graph_->Verify(false); // No full verify. 8033 if (graph_ != NULL) graph_->Verify(false); // No full verify.
8024 if (allocator_ != NULL) allocator_->Verify(); 8034 if (allocator_ != NULL) allocator_->Verify();
8025 #endif 8035 #endif
8026 } 8036 }
8027 8037
8028 } } // namespace v8::internal 8038 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/full-codegen.cc ('k') | src/parser.h » ('j') | test/mjsunit/harmony/module-parsing.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698