Index: src/contexts.h |
diff --git a/src/contexts.h b/src/contexts.h |
index 37fb4360c3208b9649b01c270c3ac6d98a6a0181..55dc95a5100ca20fb1fd7fd10053a11355d631b2 100644 |
--- a/src/contexts.h |
+++ b/src/contexts.h |
@@ -34,42 +34,42 @@ enum ContextLookupFlags { |
// must always be allocated via Heap::AllocateContext() or |
// Factory::NewContext. |
-#define NATIVE_CONTEXT_INTRINSIC_FUNCTIONS(V) \ |
- V(IS_ARRAYLIKE, JSFunction, is_arraylike) \ |
- V(GENERATOR_NEXT_INTERNAL, JSFunction, generator_next_internal) \ |
- V(GET_TEMPLATE_CALL_SITE_INDEX, JSFunction, get_template_call_site) \ |
- V(MAKE_ERROR_INDEX, JSFunction, make_error) \ |
- V(MAKE_RANGE_ERROR_INDEX, JSFunction, make_range_error) \ |
- V(MAKE_SYNTAX_ERROR_INDEX, JSFunction, make_syntax_error) \ |
- V(MAKE_TYPE_ERROR_INDEX, JSFunction, make_type_error) \ |
- V(MAKE_URI_ERROR_INDEX, JSFunction, make_uri_error) \ |
- V(OBJECT_CREATE, JSFunction, object_create) \ |
- V(OBJECT_DEFINE_PROPERTIES, JSFunction, object_define_properties) \ |
- V(OBJECT_DEFINE_PROPERTY, JSFunction, object_define_property) \ |
- V(OBJECT_FREEZE, JSFunction, object_freeze) \ |
- V(OBJECT_GET_PROTOTYPE_OF, JSFunction, object_get_prototype_of) \ |
- V(OBJECT_IS_EXTENSIBLE, JSFunction, object_is_extensible) \ |
- V(OBJECT_IS_FROZEN, JSFunction, object_is_frozen) \ |
- V(OBJECT_IS_SEALED, JSFunction, object_is_sealed) \ |
- V(OBJECT_KEYS, JSFunction, object_keys) \ |
- V(REGEXP_INTERNAL_MATCH, JSFunction, regexp_internal_match) \ |
- V(REFLECT_APPLY_INDEX, JSFunction, reflect_apply) \ |
- V(REFLECT_CONSTRUCT_INDEX, JSFunction, reflect_construct) \ |
- V(REFLECT_DEFINE_PROPERTY_INDEX, JSFunction, reflect_define_property) \ |
- V(REFLECT_DELETE_PROPERTY_INDEX, JSFunction, reflect_delete_property) \ |
- V(SPREAD_ARGUMENTS_INDEX, JSFunction, spread_arguments) \ |
- V(SPREAD_ITERABLE_INDEX, JSFunction, spread_iterable) \ |
- V(MATH_FLOOR_INDEX, JSFunction, math_floor) \ |
- V(MATH_POW_INDEX, JSFunction, math_pow) \ |
- V(CREATE_RESOLVING_FUNCTION_INDEX, JSFunction, create_resolving_functions) \ |
- V(PROMISE_INTERNAL_CONSTRUCTOR_INDEX, JSFunction, \ |
- promise_internal_constructor) \ |
- V(IS_PROMISE_INDEX, JSFunction, is_promise) \ |
- V(PERFORM_PROMISE_THEN_INDEX, JSFunction, perform_promise_then) \ |
- V(PROMISE_CREATE_AND_SET_INDEX, JSFunction, promise_create_and_set) \ |
- V(PROMISE_RESOLVE_INDEX, JSFunction, promise_resolve) \ |
- V(PROMISE_THEN_INDEX, JSFunction, promise_then) \ |
- V(PROMISE_HANDLE_INDEX, JSFunction, promise_handle) \ |
+#define NATIVE_CONTEXT_INTRINSIC_FUNCTIONS(V) \ |
+ V(IS_ARRAYLIKE, JSFunction, is_arraylike) \ |
+ V(GENERATOR_NEXT_INTERNAL, JSFunction, generator_next_internal) \ |
+ V(GET_TEMPLATE_CALL_SITE_INDEX, JSFunction, get_template_call_site) \ |
+ V(MAKE_ERROR_INDEX, JSFunction, make_error) \ |
+ V(MAKE_RANGE_ERROR_INDEX, JSFunction, make_range_error) \ |
+ V(MAKE_SYNTAX_ERROR_INDEX, JSFunction, make_syntax_error) \ |
+ V(MAKE_TYPE_ERROR_INDEX, JSFunction, make_type_error) \ |
+ V(MAKE_URI_ERROR_INDEX, JSFunction, make_uri_error) \ |
+ V(OBJECT_CREATE, JSFunction, object_create) \ |
+ V(OBJECT_DEFINE_PROPERTIES, JSFunction, object_define_properties) \ |
+ V(OBJECT_DEFINE_PROPERTY, JSFunction, object_define_property) \ |
+ V(OBJECT_FREEZE, JSFunction, object_freeze) \ |
+ V(OBJECT_GET_PROTOTYPE_OF, JSFunction, object_get_prototype_of) \ |
+ V(OBJECT_IS_EXTENSIBLE, JSFunction, object_is_extensible) \ |
+ V(OBJECT_IS_FROZEN, JSFunction, object_is_frozen) \ |
+ V(OBJECT_IS_SEALED, JSFunction, object_is_sealed) \ |
+ V(OBJECT_KEYS, JSFunction, object_keys) \ |
+ V(REGEXP_INTERNAL_MATCH, JSFunction, regexp_internal_match) \ |
+ V(REFLECT_APPLY_INDEX, JSFunction, reflect_apply) \ |
+ V(REFLECT_CONSTRUCT_INDEX, JSFunction, reflect_construct) \ |
+ V(REFLECT_DEFINE_PROPERTY_INDEX, JSFunction, reflect_define_property) \ |
+ V(REFLECT_DELETE_PROPERTY_INDEX, JSFunction, reflect_delete_property) \ |
+ V(SPREAD_ARGUMENTS_INDEX, JSFunction, spread_arguments) \ |
+ V(SPREAD_ITERABLE_INDEX, JSFunction, spread_iterable) \ |
+ V(MATH_FLOOR_INDEX, JSFunction, math_floor) \ |
+ V(MATH_POW_INDEX, JSFunction, math_pow) \ |
+ V(NEW_PROMISE_CAPABILITY_INDEX, JSFunction, new_promise_capability) \ |
+ V(PROMISE_INTERNAL_CONSTRUCTOR_INDEX, JSFunction, \ |
+ promise_internal_constructor) \ |
+ V(IS_PROMISE_INDEX, JSFunction, is_promise) \ |
+ V(PERFORM_PROMISE_THEN_INDEX, JSFunction, perform_promise_then) \ |
+ V(PROMISE_CREATE_AND_SET_INDEX, JSFunction, promise_create_and_set) \ |
+ V(PROMISE_RESOLVE_INDEX, JSFunction, promise_resolve) \ |
+ V(PROMISE_THEN_INDEX, JSFunction, promise_then) \ |
+ V(PROMISE_HANDLE_INDEX, JSFunction, promise_handle) \ |
V(PROMISE_HANDLE_REJECT_INDEX, JSFunction, promise_handle_reject) |
#define NATIVE_CONTEXT_IMPORTED_FIELDS(V) \ |
@@ -110,9 +110,6 @@ enum ContextLookupFlags { |
V(PROMISE_INTERNAL_REJECT_INDEX, JSFunction, promise_internal_reject) \ |
V(PROMISE_ID_RESOLVE_HANDLER_INDEX, JSFunction, promise_id_resolve_handler) \ |
V(PROMISE_ID_REJECT_HANDLER_INDEX, JSFunction, promise_id_reject_handler) \ |
- V(NEW_PROMISE_CAPABILITY_INDEX, JSFunction, new_promise_capability) \ |
- V(INTERNAL_PROMISE_CAPABILITY_INDEX, JSFunction, \ |
- internal_promise_capability) \ |
V(RANGE_ERROR_FUNCTION_INDEX, JSFunction, range_error_function) \ |
V(REJECT_PROMISE_NO_DEBUG_EVENT_INDEX, JSFunction, \ |
reject_promise_no_debug_event) \ |
@@ -289,6 +286,8 @@ enum ContextLookupFlags { |
V(PROXY_FUNCTION_INDEX, JSFunction, proxy_function) \ |
V(PROXY_FUNCTION_MAP_INDEX, Map, proxy_function_map) \ |
V(PROXY_MAP_INDEX, Map, proxy_map) \ |
+ V(PROMISE_GET_CAPABILITIES_EXECUTOR_SHARED_FUN, SharedFunctionInfo, \ |
+ promise_get_capabilities_executor_shared_fun) \ |
V(PROMISE_RESOLVE_SHARED_FUN, SharedFunctionInfo, \ |
promise_resolve_shared_fun) \ |
V(PROMISE_REJECT_SHARED_FUN, SharedFunctionInfo, promise_reject_shared_fun) \ |