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

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

Issue 2622503002: include fixing: api.h shouldn't include objects-inl.h (Closed)
Patch Set: static type check Created 3 years, 11 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/ast/ast-value-factory.cc ('k') | src/ast/prettyprinter.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 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 #include "src/objects-inl.h"
8 9
9 namespace v8 { 10 namespace v8 {
10 namespace internal { 11 namespace internal {
11 12
12 void ModuleDescriptor::AddImport( 13 void ModuleDescriptor::AddImport(
13 const AstRawString* import_name, const AstRawString* local_name, 14 const AstRawString* import_name, const AstRawString* local_name,
14 const AstRawString* module_request, Scanner::Location loc, Zone* zone) { 15 const AstRawString* module_request, Scanner::Location loc, Zone* zone) {
15 Entry* entry = new (zone) Entry(loc); 16 Entry* entry = new (zone) Entry(loc);
16 entry->local_name = local_name; 17 entry->local_name = local_name;
17 entry->import_name = import_name; 18 entry->import_name = import_name;
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 } 315 }
315 } 316 }
316 317
317 MakeIndirectExportsExplicit(zone); 318 MakeIndirectExportsExplicit(zone);
318 AssignCellIndices(); 319 AssignCellIndices();
319 return true; 320 return true;
320 } 321 }
321 322
322 } // namespace internal 323 } // namespace internal
323 } // namespace v8 324 } // namespace v8
OLDNEW
« no previous file with comments | « src/ast/ast-value-factory.cc ('k') | src/ast/prettyprinter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698