OLD | NEW |
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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 V(JS_WEAK_MAP_FUN_INDEX, JSFunction, js_weak_map_fun) \ | 210 V(JS_WEAK_MAP_FUN_INDEX, JSFunction, js_weak_map_fun) \ |
211 V(JS_WEAK_SET_FUN_INDEX, JSFunction, js_weak_set_fun) \ | 211 V(JS_WEAK_SET_FUN_INDEX, JSFunction, js_weak_set_fun) \ |
212 V(MAP_CACHE_INDEX, Object, map_cache) \ | 212 V(MAP_CACHE_INDEX, Object, map_cache) \ |
213 V(MAP_ITERATOR_MAP_INDEX, Map, map_iterator_map) \ | 213 V(MAP_ITERATOR_MAP_INDEX, Map, map_iterator_map) \ |
214 V(STRING_ITERATOR_MAP_INDEX, Map, string_iterator_map) \ | 214 V(STRING_ITERATOR_MAP_INDEX, Map, string_iterator_map) \ |
215 V(MESSAGE_LISTENERS_INDEX, JSObject, message_listeners) \ | 215 V(MESSAGE_LISTENERS_INDEX, JSObject, message_listeners) \ |
216 V(NATIVES_UTILS_OBJECT_INDEX, Object, natives_utils_object) \ | 216 V(NATIVES_UTILS_OBJECT_INDEX, Object, natives_utils_object) \ |
217 V(NORMALIZED_MAP_CACHE_INDEX, Object, normalized_map_cache) \ | 217 V(NORMALIZED_MAP_CACHE_INDEX, Object, normalized_map_cache) \ |
218 V(NUMBER_FUNCTION_INDEX, JSFunction, number_function) \ | 218 V(NUMBER_FUNCTION_INDEX, JSFunction, number_function) \ |
219 V(OBJECT_FUNCTION_INDEX, JSFunction, object_function) \ | 219 V(OBJECT_FUNCTION_INDEX, JSFunction, object_function) \ |
| 220 V(OBJECT_WITH_NULL_PROTOTYPE_MAP, Map, object_with_null_prototype_map) \ |
220 V(OBJECT_FUNCTION_PROTOTYPE_MAP_INDEX, Map, object_function_prototype_map) \ | 221 V(OBJECT_FUNCTION_PROTOTYPE_MAP_INDEX, Map, object_function_prototype_map) \ |
221 V(OPAQUE_REFERENCE_FUNCTION_INDEX, JSFunction, opaque_reference_function) \ | 222 V(OPAQUE_REFERENCE_FUNCTION_INDEX, JSFunction, opaque_reference_function) \ |
222 V(PROXY_CALLABLE_MAP_INDEX, Map, proxy_callable_map) \ | 223 V(PROXY_CALLABLE_MAP_INDEX, Map, proxy_callable_map) \ |
223 V(PROXY_CONSTRUCTOR_MAP_INDEX, Map, proxy_constructor_map) \ | 224 V(PROXY_CONSTRUCTOR_MAP_INDEX, Map, proxy_constructor_map) \ |
224 V(PROXY_FUNCTION_INDEX, JSFunction, proxy_function) \ | 225 V(PROXY_FUNCTION_INDEX, JSFunction, proxy_function) \ |
225 V(PROXY_FUNCTION_MAP_INDEX, Map, proxy_function_map) \ | 226 V(PROXY_FUNCTION_MAP_INDEX, Map, proxy_function_map) \ |
226 V(PROXY_MAP_INDEX, Map, proxy_map) \ | 227 V(PROXY_MAP_INDEX, Map, proxy_map) \ |
227 V(REGEXP_FUNCTION_INDEX, JSFunction, regexp_function) \ | 228 V(REGEXP_FUNCTION_INDEX, JSFunction, regexp_function) \ |
228 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map) \ | 229 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map) \ |
229 V(SCRIPT_CONTEXT_TABLE_INDEX, ScriptContextTable, script_context_table) \ | 230 V(SCRIPT_CONTEXT_TABLE_INDEX, ScriptContextTable, script_context_table) \ |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
575 #endif | 576 #endif |
576 | 577 |
577 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); | 578 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); |
578 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 579 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
579 }; | 580 }; |
580 | 581 |
581 } // namespace internal | 582 } // namespace internal |
582 } // namespace v8 | 583 } // namespace v8 |
583 | 584 |
584 #endif // V8_CONTEXTS_H_ | 585 #endif // V8_CONTEXTS_H_ |
OLD | NEW |