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