| 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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 V(ASYNC_FUNCTION_MAP_INDEX, Map, async_function_map) \ | 323 V(ASYNC_FUNCTION_MAP_INDEX, Map, async_function_map) \ |
| 324 V(STRICT_FUNCTION_MAP_INDEX, Map, strict_function_map) \ | 324 V(STRICT_FUNCTION_MAP_INDEX, Map, strict_function_map) \ |
| 325 V(STRICT_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \ | 325 V(STRICT_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX, Map, \ |
| 326 strict_function_without_prototype_map) \ | 326 strict_function_without_prototype_map) \ |
| 327 V(GENERATOR_FUNCTION_MAP_INDEX, Map, generator_function_map) \ | 327 V(GENERATOR_FUNCTION_MAP_INDEX, Map, generator_function_map) \ |
| 328 V(CLASS_FUNCTION_MAP_INDEX, Map, class_function_map) \ | 328 V(CLASS_FUNCTION_MAP_INDEX, Map, class_function_map) \ |
| 329 V(STRING_FUNCTION_INDEX, JSFunction, string_function) \ | 329 V(STRING_FUNCTION_INDEX, JSFunction, string_function) \ |
| 330 V(STRING_FUNCTION_PROTOTYPE_MAP_INDEX, Map, string_function_prototype_map) \ | 330 V(STRING_FUNCTION_PROTOTYPE_MAP_INDEX, Map, string_function_prototype_map) \ |
| 331 V(STRING_ITERATOR_MAP_INDEX, Map, string_iterator_map) \ | 331 V(STRING_ITERATOR_MAP_INDEX, Map, string_iterator_map) \ |
| 332 V(SYMBOL_FUNCTION_INDEX, JSFunction, symbol_function) \ | 332 V(SYMBOL_FUNCTION_INDEX, JSFunction, symbol_function) \ |
| 333 V(NATIVE_FUNCTION_MAP_INDEX, Map, native_function_map) \ |
| 333 V(WASM_FUNCTION_MAP_INDEX, Map, wasm_function_map) \ | 334 V(WASM_FUNCTION_MAP_INDEX, Map, wasm_function_map) \ |
| 334 V(WASM_INSTANCE_CONSTRUCTOR_INDEX, JSFunction, wasm_instance_constructor) \ | 335 V(WASM_INSTANCE_CONSTRUCTOR_INDEX, JSFunction, wasm_instance_constructor) \ |
| 335 V(WASM_INSTANCE_SYM_INDEX, Symbol, wasm_instance_sym) \ | 336 V(WASM_INSTANCE_SYM_INDEX, Symbol, wasm_instance_sym) \ |
| 336 V(WASM_MEMORY_CONSTRUCTOR_INDEX, JSFunction, wasm_memory_constructor) \ | 337 V(WASM_MEMORY_CONSTRUCTOR_INDEX, JSFunction, wasm_memory_constructor) \ |
| 337 V(WASM_MEMORY_SYM_INDEX, Symbol, wasm_memory_sym) \ | 338 V(WASM_MEMORY_SYM_INDEX, Symbol, wasm_memory_sym) \ |
| 338 V(WASM_MODULE_CONSTRUCTOR_INDEX, JSFunction, wasm_module_constructor) \ | 339 V(WASM_MODULE_CONSTRUCTOR_INDEX, JSFunction, wasm_module_constructor) \ |
| 339 V(WASM_MODULE_SYM_INDEX, Symbol, wasm_module_sym) \ | 340 V(WASM_MODULE_SYM_INDEX, Symbol, wasm_module_sym) \ |
| 340 V(WASM_TABLE_CONSTRUCTOR_INDEX, JSFunction, wasm_table_constructor) \ | 341 V(WASM_TABLE_CONSTRUCTOR_INDEX, JSFunction, wasm_table_constructor) \ |
| 341 V(WASM_TABLE_SYM_INDEX, Symbol, wasm_table_sym) \ | 342 V(WASM_TABLE_SYM_INDEX, Symbol, wasm_table_sym) \ |
| 342 V(TYPED_ARRAY_FUN_INDEX, JSFunction, typed_array_function) \ | 343 V(TYPED_ARRAY_FUN_INDEX, JSFunction, typed_array_function) \ |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 690 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); | 691 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); |
| 691 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 692 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
| 692 }; | 693 }; |
| 693 | 694 |
| 694 typedef Context::Field ContextField; | 695 typedef Context::Field ContextField; |
| 695 | 696 |
| 696 } // namespace internal | 697 } // namespace internal |
| 697 } // namespace v8 | 698 } // namespace v8 |
| 698 | 699 |
| 699 #endif // V8_CONTEXTS_H_ | 700 #endif // V8_CONTEXTS_H_ |
| OLD | NEW |