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

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

Issue 2594663002: objects.h splitting: Split out ScopeInfo + add necessary structures. (Closed)
Patch Set: scope-info.h iwyu + remove scope-info-inl.h Created 4 years 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 | « BUILD.gn ('k') | src/heap/heap-inl.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/objects/scope-info.h"
8
7 #include "src/ast/context-slot-cache.h" 9 #include "src/ast/context-slot-cache.h"
8 #include "src/ast/scopes.h" 10 #include "src/ast/scopes.h"
9 #include "src/ast/variables.h" 11 #include "src/ast/variables.h"
10 #include "src/bootstrapper.h" 12 #include "src/bootstrapper.h"
11 13
12 namespace v8 { 14 namespace v8 {
13 namespace internal { 15 namespace internal {
14 16
15 // An entry in ModuleVariableEntries consists of several slots: 17 // An entry in ModuleVariableEntries consists of several slots:
16 enum ModuleVariableEntryOffset { 18 enum ModuleVariableEntryOffset {
(...skipping 952 matching lines...) Expand 10 before | Expand all | Expand 10 after
969 if (String::cast(entry->local_name())->Equals(*local_name)) { 971 if (String::cast(entry->local_name())->Equals(*local_name)) {
970 return entry; 972 return entry;
971 } 973 }
972 } 974 }
973 UNREACHABLE(); 975 UNREACHABLE();
974 return Handle<ModuleInfoEntry>(); 976 return Handle<ModuleInfoEntry>();
975 } 977 }
976 978
977 } // namespace internal 979 } // namespace internal
978 } // namespace v8 980 } // namespace v8
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/heap/heap-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698