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

Side by Side Diff: src/contexts.h

Issue 2388153003: [modules] Implement namespace imports. (Closed)
Patch Set: Add comment on VisitModuleNamespaceImports. Created 4 years, 2 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/compiler/types.cc ('k') | src/factory.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 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 #ifndef V8_CONTEXTS_H_ 5 #ifndef V8_CONTEXTS_H_
6 #define V8_CONTEXTS_H_ 6 #define V8_CONTEXTS_H_
7 7
8 #include "src/heap/heap.h" 8 #include "src/heap/heap.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 10
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 js_array_fast_holey_smi_elements_map_index) \ 170 js_array_fast_holey_smi_elements_map_index) \
171 V(JS_ARRAY_FAST_ELEMENTS_MAP_INDEX, Map, js_array_fast_elements_map_index) \ 171 V(JS_ARRAY_FAST_ELEMENTS_MAP_INDEX, Map, js_array_fast_elements_map_index) \
172 V(JS_ARRAY_FAST_HOLEY_ELEMENTS_MAP_INDEX, Map, \ 172 V(JS_ARRAY_FAST_HOLEY_ELEMENTS_MAP_INDEX, Map, \
173 js_array_fast_holey_elements_map_index) \ 173 js_array_fast_holey_elements_map_index) \
174 V(JS_ARRAY_FAST_DOUBLE_ELEMENTS_MAP_INDEX, Map, \ 174 V(JS_ARRAY_FAST_DOUBLE_ELEMENTS_MAP_INDEX, Map, \
175 js_array_fast_double_elements_map_index) \ 175 js_array_fast_double_elements_map_index) \
176 V(JS_ARRAY_FAST_HOLEY_DOUBLE_ELEMENTS_MAP_INDEX, Map, \ 176 V(JS_ARRAY_FAST_HOLEY_DOUBLE_ELEMENTS_MAP_INDEX, Map, \
177 js_array_fast_holey_double_elements_map_index) \ 177 js_array_fast_holey_double_elements_map_index) \
178 V(JS_MAP_FUN_INDEX, JSFunction, js_map_fun) \ 178 V(JS_MAP_FUN_INDEX, JSFunction, js_map_fun) \
179 V(JS_MAP_MAP_INDEX, Map, js_map_map) \ 179 V(JS_MAP_MAP_INDEX, Map, js_map_map) \
180 V(JS_MODULE_NAMESPACE_MAP, Map, js_module_namespace_map) \
180 V(JS_SET_FUN_INDEX, JSFunction, js_set_fun) \ 181 V(JS_SET_FUN_INDEX, JSFunction, js_set_fun) \
181 V(JS_SET_MAP_INDEX, Map, js_set_map) \ 182 V(JS_SET_MAP_INDEX, Map, js_set_map) \
182 V(JS_WEAK_MAP_FUN_INDEX, JSFunction, js_weak_map_fun) \ 183 V(JS_WEAK_MAP_FUN_INDEX, JSFunction, js_weak_map_fun) \
183 V(JS_WEAK_SET_FUN_INDEX, JSFunction, js_weak_set_fun) \ 184 V(JS_WEAK_SET_FUN_INDEX, JSFunction, js_weak_set_fun) \
184 V(MAP_CACHE_INDEX, Object, map_cache) \ 185 V(MAP_CACHE_INDEX, Object, map_cache) \
185 V(MAP_ITERATOR_MAP_INDEX, Map, map_iterator_map) \ 186 V(MAP_ITERATOR_MAP_INDEX, Map, map_iterator_map) \
186 V(STRING_ITERATOR_MAP_INDEX, Map, string_iterator_map) \ 187 V(STRING_ITERATOR_MAP_INDEX, Map, string_iterator_map) \
187 V(MESSAGE_LISTENERS_INDEX, TemplateList, message_listeners) \ 188 V(MESSAGE_LISTENERS_INDEX, TemplateList, message_listeners) \
188 V(NATIVES_UTILS_OBJECT_INDEX, Object, natives_utils_object) \ 189 V(NATIVES_UTILS_OBJECT_INDEX, Object, natives_utils_object) \
189 V(NORMALIZED_MAP_CACHE_INDEX, Object, normalized_map_cache) \ 190 V(NORMALIZED_MAP_CACHE_INDEX, Object, normalized_map_cache) \
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 #endif 560 #endif
560 561
561 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 562 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
562 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 563 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
563 }; 564 };
564 565
565 } // namespace internal 566 } // namespace internal
566 } // namespace v8 567 } // namespace v8
567 568
568 #endif // V8_CONTEXTS_H_ 569 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/compiler/types.cc ('k') | src/factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698