Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 |
| OLD | NEW |