| 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 V(FLOAT32X4_FUNCTION_INDEX, JSFunction, float32x4_function) \ | 217 V(FLOAT32X4_FUNCTION_INDEX, JSFunction, float32x4_function) \ |
| 218 V(FLOAT64_ARRAY_FUN_INDEX, JSFunction, float64_array_fun) \ | 218 V(FLOAT64_ARRAY_FUN_INDEX, JSFunction, float64_array_fun) \ |
| 219 V(FAST_TEMPLATE_INSTANTIATIONS_CACHE_INDEX, FixedArray, \ | 219 V(FAST_TEMPLATE_INSTANTIATIONS_CACHE_INDEX, FixedArray, \ |
| 220 fast_template_instantiations_cache) \ | 220 fast_template_instantiations_cache) \ |
| 221 V(SLOW_TEMPLATE_INSTANTIATIONS_CACHE_INDEX, UnseededNumberDictionary, \ | 221 V(SLOW_TEMPLATE_INSTANTIATIONS_CACHE_INDEX, UnseededNumberDictionary, \ |
| 222 slow_template_instantiations_cache) \ | 222 slow_template_instantiations_cache) \ |
| 223 V(FUNCTION_FUNCTION_INDEX, JSFunction, function_function) \ | 223 V(FUNCTION_FUNCTION_INDEX, JSFunction, function_function) \ |
| 224 V(GENERATOR_FUNCTION_FUNCTION_INDEX, JSFunction, \ | 224 V(GENERATOR_FUNCTION_FUNCTION_INDEX, JSFunction, \ |
| 225 generator_function_function) \ | 225 generator_function_function) \ |
| 226 V(GENERATOR_OBJECT_PROTOTYPE_MAP_INDEX, Map, generator_object_prototype_map) \ | 226 V(GENERATOR_OBJECT_PROTOTYPE_MAP_INDEX, Map, generator_object_prototype_map) \ |
| 227 V(INITIAL_ARRAY_ITERATOR_PROTOTYPE_INDEX, JSObject, \ |
| 228 initial_array_iterator_prototype) \ |
| 227 V(INITIAL_ARRAY_PROTOTYPE_INDEX, JSObject, initial_array_prototype) \ | 229 V(INITIAL_ARRAY_PROTOTYPE_INDEX, JSObject, initial_array_prototype) \ |
| 228 V(INITIAL_GENERATOR_PROTOTYPE_INDEX, JSObject, initial_generator_prototype) \ | 230 V(INITIAL_GENERATOR_PROTOTYPE_INDEX, JSObject, initial_generator_prototype) \ |
| 229 V(INITIAL_ITERATOR_PROTOTYPE_INDEX, JSObject, initial_iterator_prototype) \ | 231 V(INITIAL_ITERATOR_PROTOTYPE_INDEX, JSObject, initial_iterator_prototype) \ |
| 230 V(INITIAL_OBJECT_PROTOTYPE_INDEX, JSObject, initial_object_prototype) \ | 232 V(INITIAL_OBJECT_PROTOTYPE_INDEX, JSObject, initial_object_prototype) \ |
| 231 V(INT16_ARRAY_FUN_INDEX, JSFunction, int16_array_fun) \ | 233 V(INT16_ARRAY_FUN_INDEX, JSFunction, int16_array_fun) \ |
| 232 V(INT16X8_FUNCTION_INDEX, JSFunction, int16x8_function) \ | 234 V(INT16X8_FUNCTION_INDEX, JSFunction, int16x8_function) \ |
| 233 V(INT32_ARRAY_FUN_INDEX, JSFunction, int32_array_fun) \ | 235 V(INT32_ARRAY_FUN_INDEX, JSFunction, int32_array_fun) \ |
| 234 V(INT32X4_FUNCTION_INDEX, JSFunction, int32x4_function) \ | 236 V(INT32X4_FUNCTION_INDEX, JSFunction, int32x4_function) \ |
| 235 V(INT8_ARRAY_FUN_INDEX, JSFunction, int8_array_fun) \ | 237 V(INT8_ARRAY_FUN_INDEX, JSFunction, int8_array_fun) \ |
| 236 V(INT8X16_FUNCTION_INDEX, JSFunction, int8x16_function) \ | 238 V(INT8X16_FUNCTION_INDEX, JSFunction, int8x16_function) \ |
| (...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 644 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); | 646 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); |
| 645 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 647 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
| 646 }; | 648 }; |
| 647 | 649 |
| 648 typedef Context::Field ContextField; | 650 typedef Context::Field ContextField; |
| 649 | 651 |
| 650 } // namespace internal | 652 } // namespace internal |
| 651 } // namespace v8 | 653 } // namespace v8 |
| 652 | 654 |
| 653 #endif // V8_CONTEXTS_H_ | 655 #endif // V8_CONTEXTS_H_ |
| OLD | NEW |