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

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

Issue 2610643002: Various IWYU fixes. (Closed)
Patch Set: fixes + more iwyu 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.h ('k') | src/global-handles.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 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/objects/scope-info.h" 7 #include "src/objects/scope-info.h"
8 8
9 #include "src/ast/context-slot-cache.h" 9 #include "src/ast/context-slot-cache.h"
10 #include "src/ast/scopes.h" 10 #include "src/ast/scopes.h"
11 #include "src/ast/variables.h" 11 #include "src/ast/variables.h"
12 #include "src/bootstrapper.h" 12 #include "src/bootstrapper.h"
13 #include "src/objects-inl.h"
13 14
14 namespace v8 { 15 namespace v8 {
15 namespace internal { 16 namespace internal {
16 17
17 // An entry in ModuleVariableEntries consists of several slots: 18 // An entry in ModuleVariableEntries consists of several slots:
18 enum ModuleVariableEntryOffset { 19 enum ModuleVariableEntryOffset {
19 kModuleVariableNameOffset, 20 kModuleVariableNameOffset,
20 kModuleVariableIndexOffset, 21 kModuleVariableIndexOffset,
21 kModuleVariablePropertiesOffset, 22 kModuleVariablePropertiesOffset,
22 kModuleVariableEntryLength // Sentinel value. 23 kModuleVariableEntryLength // Sentinel value.
(...skipping 948 matching lines...) Expand 10 before | Expand all | Expand 10 after
971 if (String::cast(entry->local_name())->Equals(*local_name)) { 972 if (String::cast(entry->local_name())->Equals(*local_name)) {
972 return entry; 973 return entry;
973 } 974 }
974 } 975 }
975 UNREACHABLE(); 976 UNREACHABLE();
976 return Handle<ModuleInfoEntry>(); 977 return Handle<ModuleInfoEntry>();
977 } 978 }
978 979
979 } // namespace internal 980 } // namespace internal
980 } // namespace v8 981 } // namespace v8
OLDNEW
« no previous file with comments | « src/ast/ast-value-factory.h ('k') | src/global-handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698