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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 bound_function_without_constructor_map) \ | 234 bound_function_without_constructor_map) \ |
235 V(CALL_AS_CONSTRUCTOR_DELEGATE_INDEX, JSFunction, \ | 235 V(CALL_AS_CONSTRUCTOR_DELEGATE_INDEX, JSFunction, \ |
236 call_as_constructor_delegate) \ | 236 call_as_constructor_delegate) \ |
237 V(CALL_AS_FUNCTION_DELEGATE_INDEX, JSFunction, call_as_function_delegate) \ | 237 V(CALL_AS_FUNCTION_DELEGATE_INDEX, JSFunction, call_as_function_delegate) \ |
238 V(CALLSITE_FUNCTION_INDEX, JSFunction, callsite_function) \ | 238 V(CALLSITE_FUNCTION_INDEX, JSFunction, callsite_function) \ |
239 V(CONTEXT_EXTENSION_FUNCTION_INDEX, JSFunction, context_extension_function) \ | 239 V(CONTEXT_EXTENSION_FUNCTION_INDEX, JSFunction, context_extension_function) \ |
240 V(CURRENT_MODULE_INDEX, Module, current_module) \ | 240 V(CURRENT_MODULE_INDEX, Module, current_module) \ |
241 V(DATA_PROPERTY_DESCRIPTOR_MAP_INDEX, Map, data_property_descriptor_map) \ | 241 V(DATA_PROPERTY_DESCRIPTOR_MAP_INDEX, Map, data_property_descriptor_map) \ |
242 V(DATA_VIEW_FUN_INDEX, JSFunction, data_view_fun) \ | 242 V(DATA_VIEW_FUN_INDEX, JSFunction, data_view_fun) \ |
243 V(DATE_FUNCTION_INDEX, JSFunction, date_function) \ | 243 V(DATE_FUNCTION_INDEX, JSFunction, date_function) \ |
| 244 V(DEBUG_CONTEXT_ID_INDEX, Object, debug_context_id) \ |
244 V(ERROR_MESSAGE_FOR_CODE_GEN_FROM_STRINGS_INDEX, Object, \ | 245 V(ERROR_MESSAGE_FOR_CODE_GEN_FROM_STRINGS_INDEX, Object, \ |
245 error_message_for_code_gen_from_strings) \ | 246 error_message_for_code_gen_from_strings) \ |
246 V(ERRORS_THROWN_INDEX, Smi, errors_thrown) \ | 247 V(ERRORS_THROWN_INDEX, Smi, errors_thrown) \ |
247 V(EXTRAS_EXPORTS_OBJECT_INDEX, JSObject, extras_binding_object) \ | 248 V(EXTRAS_EXPORTS_OBJECT_INDEX, JSObject, extras_binding_object) \ |
248 V(EXTRAS_UTILS_OBJECT_INDEX, Object, extras_utils_object) \ | 249 V(EXTRAS_UTILS_OBJECT_INDEX, Object, extras_utils_object) \ |
249 V(FAST_ALIASED_ARGUMENTS_MAP_INDEX, Map, fast_aliased_arguments_map) \ | 250 V(FAST_ALIASED_ARGUMENTS_MAP_INDEX, Map, fast_aliased_arguments_map) \ |
250 V(FAST_TEMPLATE_INSTANTIATIONS_CACHE_INDEX, FixedArray, \ | 251 V(FAST_TEMPLATE_INSTANTIATIONS_CACHE_INDEX, FixedArray, \ |
251 fast_template_instantiations_cache) \ | 252 fast_template_instantiations_cache) \ |
252 V(FLOAT32_ARRAY_FUN_INDEX, JSFunction, float32_array_fun) \ | 253 V(FLOAT32_ARRAY_FUN_INDEX, JSFunction, float32_array_fun) \ |
253 V(FLOAT64_ARRAY_FUN_INDEX, JSFunction, float64_array_fun) \ | 254 V(FLOAT64_ARRAY_FUN_INDEX, JSFunction, float64_array_fun) \ |
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
724 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); | 725 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); |
725 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 726 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
726 }; | 727 }; |
727 | 728 |
728 typedef Context::Field ContextField; | 729 typedef Context::Field ContextField; |
729 | 730 |
730 } // namespace internal | 731 } // namespace internal |
731 } // namespace v8 | 732 } // namespace v8 |
732 | 733 |
733 #endif // V8_CONTEXTS_H_ | 734 #endif // V8_CONTEXTS_H_ |
OLD | NEW |