| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 async_function_promise_release) \ | 81 async_function_promise_release) \ |
| 82 V(DERIVED_GET_TRAP_INDEX, JSFunction, derived_get_trap) \ | 82 V(DERIVED_GET_TRAP_INDEX, JSFunction, derived_get_trap) \ |
| 83 V(ERROR_FUNCTION_INDEX, JSFunction, error_function) \ | 83 V(ERROR_FUNCTION_INDEX, JSFunction, error_function) \ |
| 84 V(ERROR_TO_STRING, JSFunction, error_to_string) \ | 84 V(ERROR_TO_STRING, JSFunction, error_to_string) \ |
| 85 V(EVAL_ERROR_FUNCTION_INDEX, JSFunction, eval_error_function) \ | 85 V(EVAL_ERROR_FUNCTION_INDEX, JSFunction, eval_error_function) \ |
| 86 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \ | 86 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \ |
| 87 V(MAP_DELETE_METHOD_INDEX, JSFunction, map_delete) \ | 87 V(MAP_DELETE_METHOD_INDEX, JSFunction, map_delete) \ |
| 88 V(MAP_GET_METHOD_INDEX, JSFunction, map_get) \ | 88 V(MAP_GET_METHOD_INDEX, JSFunction, map_get) \ |
| 89 V(MAP_HAS_METHOD_INDEX, JSFunction, map_has) \ | 89 V(MAP_HAS_METHOD_INDEX, JSFunction, map_has) \ |
| 90 V(MAP_SET_METHOD_INDEX, JSFunction, map_set) \ | 90 V(MAP_SET_METHOD_INDEX, JSFunction, map_set) \ |
| 91 V(FUNCTION_HAS_INSTANCE_INDEX, JSFunction, function_has_instance) \ |
| 91 V(OBJECT_VALUE_OF, JSFunction, object_value_of) \ | 92 V(OBJECT_VALUE_OF, JSFunction, object_value_of) \ |
| 92 V(OBJECT_TO_STRING, JSFunction, object_to_string) \ | 93 V(OBJECT_TO_STRING, JSFunction, object_to_string) \ |
| 93 V(PROMISE_CATCH_INDEX, JSFunction, promise_catch) \ | 94 V(PROMISE_CATCH_INDEX, JSFunction, promise_catch) \ |
| 94 V(PROMISE_CREATE_INDEX, JSFunction, promise_create) \ | 95 V(PROMISE_CREATE_INDEX, JSFunction, promise_create) \ |
| 95 V(PROMISE_FUNCTION_INDEX, JSFunction, promise_function) \ | 96 V(PROMISE_FUNCTION_INDEX, JSFunction, promise_function) \ |
| 96 V(PROMISE_HANDLE_INDEX, JSFunction, promise_handle) \ | 97 V(PROMISE_HANDLE_INDEX, JSFunction, promise_handle) \ |
| 97 V(PROMISE_HAS_USER_DEFINED_REJECT_HANDLER_INDEX, JSFunction, \ | 98 V(PROMISE_HAS_USER_DEFINED_REJECT_HANDLER_INDEX, JSFunction, \ |
| 98 promise_has_user_defined_reject_handler) \ | 99 promise_has_user_defined_reject_handler) \ |
| 99 V(PROMISE_DEBUG_GET_INFO_INDEX, JSFunction, promise_debug_get_info) \ | 100 V(PROMISE_DEBUG_GET_INFO_INDEX, JSFunction, promise_debug_get_info) \ |
| 100 V(PROMISE_REJECT_INDEX, JSFunction, promise_reject) \ | 101 V(PROMISE_REJECT_INDEX, JSFunction, promise_reject) \ |
| (...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 653 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); | 654 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); |
| 654 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); | 655 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
| 655 }; | 656 }; |
| 656 | 657 |
| 657 typedef Context::Field ContextField; | 658 typedef Context::Field ContextField; |
| 658 | 659 |
| 659 } // namespace internal | 660 } // namespace internal |
| 660 } // namespace v8 | 661 } // namespace v8 |
| 661 | 662 |
| 662 #endif // V8_CONTEXTS_H_ | 663 #endif // V8_CONTEXTS_H_ |
| OLD | NEW |