| 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 372 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 383   V(ASYNC_GENERATOR_FUNCTION_WITH_HOME_OBJECT_MAP_INDEX, Map,                  \ | 383   V(ASYNC_GENERATOR_FUNCTION_WITH_HOME_OBJECT_MAP_INDEX, Map,                  \ | 
| 384     async_generator_function_with_home_object_map)                             \ | 384     async_generator_function_with_home_object_map)                             \ | 
| 385   V(ASYNC_GENERATOR_FUNCTION_WITH_NAME_AND_HOME_OBJECT_MAP_INDEX, Map,         \ | 385   V(ASYNC_GENERATOR_FUNCTION_WITH_NAME_AND_HOME_OBJECT_MAP_INDEX, Map,         \ | 
| 386     async_generator_function_with_name_and_home_object_map)                    \ | 386     async_generator_function_with_name_and_home_object_map)                    \ | 
| 387   V(CLASS_FUNCTION_MAP_INDEX, Map, class_function_map)                         \ | 387   V(CLASS_FUNCTION_MAP_INDEX, Map, class_function_map)                         \ | 
| 388   V(STRING_FUNCTION_INDEX, JSFunction, string_function)                        \ | 388   V(STRING_FUNCTION_INDEX, JSFunction, string_function)                        \ | 
| 389   V(STRING_FUNCTION_PROTOTYPE_MAP_INDEX, Map, string_function_prototype_map)   \ | 389   V(STRING_FUNCTION_PROTOTYPE_MAP_INDEX, Map, string_function_prototype_map)   \ | 
| 390   V(STRING_ITERATOR_MAP_INDEX, Map, string_iterator_map)                       \ | 390   V(STRING_ITERATOR_MAP_INDEX, Map, string_iterator_map)                       \ | 
| 391   V(SYMBOL_FUNCTION_INDEX, JSFunction, symbol_function)                        \ | 391   V(SYMBOL_FUNCTION_INDEX, JSFunction, symbol_function)                        \ | 
| 392   V(NATIVE_FUNCTION_MAP_INDEX, Map, native_function_map)                       \ | 392   V(NATIVE_FUNCTION_MAP_INDEX, Map, native_function_map)                       \ | 
| 393   V(WASM_FUNCTION_MAP_INDEX, Map, wasm_function_map)                           \ |  | 
| 394   V(WASM_INSTANCE_CONSTRUCTOR_INDEX, JSFunction, wasm_instance_constructor)    \ | 393   V(WASM_INSTANCE_CONSTRUCTOR_INDEX, JSFunction, wasm_instance_constructor)    \ | 
| 395   V(WASM_MEMORY_CONSTRUCTOR_INDEX, JSFunction, wasm_memory_constructor)        \ | 394   V(WASM_MEMORY_CONSTRUCTOR_INDEX, JSFunction, wasm_memory_constructor)        \ | 
| 396   V(WASM_MODULE_CONSTRUCTOR_INDEX, JSFunction, wasm_module_constructor)        \ | 395   V(WASM_MODULE_CONSTRUCTOR_INDEX, JSFunction, wasm_module_constructor)        \ | 
| 397   V(WASM_TABLE_CONSTRUCTOR_INDEX, JSFunction, wasm_table_constructor)          \ | 396   V(WASM_TABLE_CONSTRUCTOR_INDEX, JSFunction, wasm_table_constructor)          \ | 
| 398   V(TYPED_ARRAY_FUN_INDEX, JSFunction, typed_array_function)                   \ | 397   V(TYPED_ARRAY_FUN_INDEX, JSFunction, typed_array_function)                   \ | 
| 399   V(TYPED_ARRAY_PROTOTYPE_INDEX, JSObject, typed_array_prototype)              \ | 398   V(TYPED_ARRAY_PROTOTYPE_INDEX, JSObject, typed_array_prototype)              \ | 
| 400   V(UINT16_ARRAY_FUN_INDEX, JSFunction, uint16_array_fun)                      \ | 399   V(UINT16_ARRAY_FUN_INDEX, JSFunction, uint16_array_fun)                      \ | 
| 401   V(UINT32_ARRAY_FUN_INDEX, JSFunction, uint32_array_fun)                      \ | 400   V(UINT32_ARRAY_FUN_INDEX, JSFunction, uint32_array_fun)                      \ | 
| 402   V(UINT8_ARRAY_FUN_INDEX, JSFunction, uint8_array_fun)                        \ | 401   V(UINT8_ARRAY_FUN_INDEX, JSFunction, uint8_array_fun)                        \ | 
| 403   V(UINT8_CLAMPED_ARRAY_FUN_INDEX, JSFunction, uint8_clamped_array_fun)        \ | 402   V(UINT8_CLAMPED_ARRAY_FUN_INDEX, JSFunction, uint8_clamped_array_fun)        \ | 
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 708   STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); | 707   STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); | 
| 709   STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 708   STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 
| 710 }; | 709 }; | 
| 711 | 710 | 
| 712 typedef Context::Field ContextField; | 711 typedef Context::Field ContextField; | 
| 713 | 712 | 
| 714 }  // namespace internal | 713 }  // namespace internal | 
| 715 }  // namespace v8 | 714 }  // namespace v8 | 
| 716 | 715 | 
| 717 #endif  // V8_CONTEXTS_H_ | 716 #endif  // V8_CONTEXTS_H_ | 
| OLD | NEW | 
|---|