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

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

Issue 2324783002: Include only stuff you need, part 9: variables.h (Closed)
Patch Set: rebased Created 4 years, 3 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/prettyprinter.cc ('k') | src/ast/scopes.h » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 <stdlib.h> 5 #include <stdlib.h>
6 6
7 #include "src/ast/context-slot-cache.h" 7 #include "src/ast/context-slot-cache.h"
8 #include "src/ast/scopes.h" 8 #include "src/ast/scopes.h"
9 #include "src/ast/variables.h"
9 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
10 11
11 namespace v8 { 12 namespace v8 {
12 namespace internal { 13 namespace internal {
13 14
14 // An entry in ModuleVariableEntries consists of several slots: 15 // An entry in ModuleVariableEntries consists of several slots:
15 enum ModuleVariableEntryOffset { 16 enum ModuleVariableEntryOffset {
16 kModuleVariableNameOffset, 17 kModuleVariableNameOffset,
17 kModuleVariableIndexOffset, 18 kModuleVariableIndexOffset,
18 kModuleVariablePropertiesOffset, 19 kModuleVariablePropertiesOffset,
(...skipping 827 matching lines...) Expand 10 before | Expand all | Expand 10 after
846 } 847 }
847 848
848 Handle<ModuleInfo> result = isolate->factory()->NewModuleInfo(); 849 Handle<ModuleInfo> result = isolate->factory()->NewModuleInfo();
849 result->set(kSpecialExportsIndex, *special_exports); 850 result->set(kSpecialExportsIndex, *special_exports);
850 result->set(kRegularExportsIndex, *regular_exports); 851 result->set(kRegularExportsIndex, *regular_exports);
851 return result; 852 return result;
852 } 853 }
853 854
854 } // namespace internal 855 } // namespace internal
855 } // namespace v8 856 } // namespace v8
OLDNEW
« no previous file with comments | « src/ast/prettyprinter.cc ('k') | src/ast/scopes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698