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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 V(SLOW_ALIASED_ARGUMENTS_MAP_INDEX, Map, slow_aliased_arguments_map) \ | 243 V(SLOW_ALIASED_ARGUMENTS_MAP_INDEX, Map, slow_aliased_arguments_map) \ |
244 V(STRICT_ASYNC_FUNCTION_MAP_INDEX, Map, strict_async_function_map) \ | 244 V(STRICT_ASYNC_FUNCTION_MAP_INDEX, Map, strict_async_function_map) \ |
245 V(STRICT_ARGUMENTS_MAP_INDEX, Map, strict_arguments_map) \ | 245 V(STRICT_ARGUMENTS_MAP_INDEX, Map, strict_arguments_map) \ |
246 V(STRICT_FUNCTION_MAP_INDEX, Map, strict_function_map) \ | 246 V(STRICT_FUNCTION_MAP_INDEX, Map, strict_function_map) \ |
247 V(STRICT_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \ | 247 V(STRICT_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \ |
248 strict_function_without_prototype_map) \ | 248 strict_function_without_prototype_map) \ |
249 V(STRICT_GENERATOR_FUNCTION_MAP_INDEX, Map, strict_generator_function_map) \ | 249 V(STRICT_GENERATOR_FUNCTION_MAP_INDEX, Map, strict_generator_function_map) \ |
250 V(STRING_FUNCTION_INDEX, JSFunction, string_function) \ | 250 V(STRING_FUNCTION_INDEX, JSFunction, string_function) \ |
251 V(STRING_FUNCTION_PROTOTYPE_MAP_INDEX, Map, string_function_prototype_map) \ | 251 V(STRING_FUNCTION_PROTOTYPE_MAP_INDEX, Map, string_function_prototype_map) \ |
252 V(SYMBOL_FUNCTION_INDEX, JSFunction, symbol_function) \ | 252 V(SYMBOL_FUNCTION_INDEX, JSFunction, symbol_function) \ |
| 253 V(TYPED_ARRAY_FUN_INDEX, JSFunction, typed_array_function) \ |
| 254 V(TYPED_ARRAY_PROTOTYPE_INDEX, JSObject, typed_array_prototype) \ |
253 V(UINT16_ARRAY_FUN_INDEX, JSFunction, uint16_array_fun) \ | 255 V(UINT16_ARRAY_FUN_INDEX, JSFunction, uint16_array_fun) \ |
254 V(UINT16X8_FUNCTION_INDEX, JSFunction, uint16x8_function) \ | 256 V(UINT16X8_FUNCTION_INDEX, JSFunction, uint16x8_function) \ |
255 V(UINT32_ARRAY_FUN_INDEX, JSFunction, uint32_array_fun) \ | 257 V(UINT32_ARRAY_FUN_INDEX, JSFunction, uint32_array_fun) \ |
256 V(UINT32X4_FUNCTION_INDEX, JSFunction, uint32x4_function) \ | 258 V(UINT32X4_FUNCTION_INDEX, JSFunction, uint32x4_function) \ |
257 V(UINT8_ARRAY_FUN_INDEX, JSFunction, uint8_array_fun) \ | 259 V(UINT8_ARRAY_FUN_INDEX, JSFunction, uint8_array_fun) \ |
258 V(UINT8_CLAMPED_ARRAY_FUN_INDEX, JSFunction, uint8_clamped_array_fun) \ | 260 V(UINT8_CLAMPED_ARRAY_FUN_INDEX, JSFunction, uint8_clamped_array_fun) \ |
259 V(UINT8X16_FUNCTION_INDEX, JSFunction, uint8x16_function) \ | 261 V(UINT8X16_FUNCTION_INDEX, JSFunction, uint8x16_function) \ |
260 NATIVE_CONTEXT_INTRINSIC_FUNCTIONS(V) \ | 262 NATIVE_CONTEXT_INTRINSIC_FUNCTIONS(V) \ |
261 NATIVE_CONTEXT_IMPORTED_FIELDS(V) | 263 NATIVE_CONTEXT_IMPORTED_FIELDS(V) |
262 | 264 |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
568 #endif | 570 #endif |
569 | 571 |
570 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); | 572 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); |
571 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 573 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
572 }; | 574 }; |
573 | 575 |
574 } // namespace internal | 576 } // namespace internal |
575 } // namespace v8 | 577 } // namespace v8 |
576 | 578 |
577 #endif // V8_CONTEXTS_H_ | 579 #endif // V8_CONTEXTS_H_ |
OLD | NEW |