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

Side by Side Diff: src/ast/modules.cc

Issue 2199283002: [modules] Introduce new VariableLocation for module imports/exports. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Comment Created 4 years, 4 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
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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/ast/modules.h" 5 #include "src/ast/modules.h"
6 #include "src/ast/ast-value-factory.h" 6 #include "src/ast/ast-value-factory.h"
7 #include "src/ast/scopes.h" 7 #include "src/ast/scopes.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 if (module_scope->LookupLocal(entry->local_name) == nullptr) { 115 if (module_scope->LookupLocal(entry->local_name) == nullptr) {
116 error_handler->ReportMessageAt( 116 error_handler->ReportMessageAt(
117 entry->location.beg_pos, entry->location.end_pos, 117 entry->location.beg_pos, entry->location.end_pos,
118 MessageTemplate::kModuleExportUndefined, entry->local_name); 118 MessageTemplate::kModuleExportUndefined, entry->local_name);
119 return false; 119 return false;
120 } 120 }
121 } 121 }
122 122
123 return true; 123 return true;
124 } 124 }
125
adamk 2016/08/02 16:34:31 Can probably just drop this file from the CL :)
125 } // namespace internal 126 } // namespace internal
126 } // namespace v8 127 } // namespace v8
OLDNEW
« no previous file with comments | « src/ast/modules.h ('k') | src/ast/prettyprinter.cc » ('j') | src/ast/scopes.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698