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/objects.h" | 8 #include "src/objects.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 V(SHARED_ARRAY_BUFFER_FUN_INDEX, JSFunction, shared_array_buffer_fun) \ | 336 V(SHARED_ARRAY_BUFFER_FUN_INDEX, JSFunction, shared_array_buffer_fun) \ |
337 V(SLOPPY_ARGUMENTS_MAP_INDEX, Map, sloppy_arguments_map) \ | 337 V(SLOPPY_ARGUMENTS_MAP_INDEX, Map, sloppy_arguments_map) \ |
338 V(SLOPPY_FUNCTION_MAP_INDEX, Map, sloppy_function_map) \ | 338 V(SLOPPY_FUNCTION_MAP_INDEX, Map, sloppy_function_map) \ |
339 V(SLOPPY_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \ | 339 V(SLOPPY_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \ |
340 sloppy_function_without_prototype_map) \ | 340 sloppy_function_without_prototype_map) \ |
341 V(SLOPPY_FUNCTION_WITH_READONLY_PROTOTYPE_MAP_INDEX, Map, \ | 341 V(SLOPPY_FUNCTION_WITH_READONLY_PROTOTYPE_MAP_INDEX, Map, \ |
342 sloppy_function_with_readonly_prototype_map) \ | 342 sloppy_function_with_readonly_prototype_map) \ |
343 V(SLOW_ALIASED_ARGUMENTS_MAP_INDEX, Map, slow_aliased_arguments_map) \ | 343 V(SLOW_ALIASED_ARGUMENTS_MAP_INDEX, Map, slow_aliased_arguments_map) \ |
344 V(SLOW_OBJECT_WITH_NULL_PROTOTYPE_MAP, Map, \ | 344 V(SLOW_OBJECT_WITH_NULL_PROTOTYPE_MAP, Map, \ |
345 slow_object_with_null_prototype_map) \ | 345 slow_object_with_null_prototype_map) \ |
| 346 V(SLOW_OBJECT_WITH_OBJECT_PROTOTYPE_MAP, Map, \ |
| 347 slow_object_with_object_prototype_map) \ |
346 V(SLOW_TEMPLATE_INSTANTIATIONS_CACHE_INDEX, UnseededNumberDictionary, \ | 348 V(SLOW_TEMPLATE_INSTANTIATIONS_CACHE_INDEX, UnseededNumberDictionary, \ |
347 slow_template_instantiations_cache) \ | 349 slow_template_instantiations_cache) \ |
348 V(STRICT_ARGUMENTS_MAP_INDEX, Map, strict_arguments_map) \ | 350 V(STRICT_ARGUMENTS_MAP_INDEX, Map, strict_arguments_map) \ |
349 V(ASYNC_FUNCTION_MAP_INDEX, Map, async_function_map) \ | 351 V(ASYNC_FUNCTION_MAP_INDEX, Map, async_function_map) \ |
350 V(STRICT_FUNCTION_MAP_INDEX, Map, strict_function_map) \ | 352 V(STRICT_FUNCTION_MAP_INDEX, Map, strict_function_map) \ |
351 V(STRICT_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \ | 353 V(STRICT_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \ |
352 strict_function_without_prototype_map) \ | 354 strict_function_without_prototype_map) \ |
353 V(GENERATOR_FUNCTION_MAP_INDEX, Map, generator_function_map) \ | 355 V(GENERATOR_FUNCTION_MAP_INDEX, Map, generator_function_map) \ |
354 V(ASYNC_GENERATOR_FUNCTION_MAP_INDEX, Map, async_generator_function_map) \ | 356 V(ASYNC_GENERATOR_FUNCTION_MAP_INDEX, Map, async_generator_function_map) \ |
355 V(CLASS_FUNCTION_MAP_INDEX, Map, class_function_map) \ | 357 V(CLASS_FUNCTION_MAP_INDEX, Map, class_function_map) \ |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
717 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); | 719 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); |
718 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 720 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
719 }; | 721 }; |
720 | 722 |
721 typedef Context::Field ContextField; | 723 typedef Context::Field ContextField; |
722 | 724 |
723 } // namespace internal | 725 } // namespace internal |
724 } // namespace v8 | 726 } // namespace v8 |
725 | 727 |
726 #endif // V8_CONTEXTS_H_ | 728 #endif // V8_CONTEXTS_H_ |
OLD | NEW |