Home
last modified time | relevance | path

Searched refs:current_new_target (Results 1 – 12 of 12) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/operations/
Decma-function-object.c352 ecma_object_t *new_target_p = JERRY_CONTEXT (current_new_target); in ecma_op_create_dynamic_function()
482 if (JERRY_CONTEXT (current_new_target) != NULL) in ecma_op_create_arrow_function_object()
484 arrow_func_p->new_target = ecma_make_object_value (JERRY_CONTEXT (current_new_target)); in ecma_op_create_arrow_function_object()
802 bool is_construct_call = JERRY_CONTEXT (current_new_target) != NULL; in ecma_op_function_call_simple()
827 JERRY_CONTEXT (current_new_target) = NULL; in ecma_op_function_call_simple()
831 JERRY_CONTEXT (current_new_target) = ecma_get_object_from_value (arrow_func_p->new_target); in ecma_op_function_call_simple()
1077 ecma_object_t *old_new_target_p = JERRY_CONTEXT (current_new_target); in ecma_op_function_call()
1080 JERRY_CONTEXT (current_new_target) = NULL; in ecma_op_function_call()
1100 JERRY_CONTEXT (current_new_target) = old_new_target_p; in ecma_op_function_call()
1168 ecma_object_t *old_new_target_p = JERRY_CONTEXT (current_new_target); in ecma_op_function_construct_external()
[all …]
Decma-promise-object.c517 JERRY_ASSERT (JERRY_CONTEXT (current_new_target) != NULL); in ecma_op_create_promise_object()
519 …cma_object_t *proto_p = ecma_op_get_prototype_from_constructor (JERRY_CONTEXT (current_new_target), in ecma_op_create_promise_object()
Decma-container-object.c376 JERRY_ASSERT (JERRY_CONTEXT (current_new_target) != NULL); in ecma_op_container_create()
378 …t *proto_p = ecma_op_get_prototype_from_constructor (JERRY_CONTEXT (current_new_target), proto_id); in ecma_op_container_create()
/third_party/jerryscript/jerry-core/ecma/base/
Decma-init-finalize.c64 JERRY_CONTEXT (current_new_target) = NULL; in ecma_init()
76 JERRY_ASSERT (JERRY_CONTEXT (current_new_target) == NULL); in ecma_finalize()
/third_party/jerryscript/jerry-core/vm/
Dopcodes.c699 ecma_object_t *old_new_target = JERRY_CONTEXT (current_new_target); in opfunc_resume_executable_object()
700 JERRY_CONTEXT (current_new_target) = NULL; in opfunc_resume_executable_object()
704 JERRY_CONTEXT (current_new_target) = old_new_target; in opfunc_resume_executable_object()
776 if (JERRY_CONTEXT (current_new_target) == NULL) in ecma_op_implicit_constructor_handler_cb()
800 if (JERRY_CONTEXT (current_new_target) == NULL) in ecma_op_implicit_constructor_handler_heritage_cb()
816 JERRY_CONTEXT (current_new_target), in ecma_op_implicit_constructor_handler_heritage_cb()
822 ecma_value_t proto_value = ecma_op_object_get_by_magic_id (JERRY_CONTEXT (current_new_target), in ecma_op_implicit_constructor_handler_heritage_cb()
Dvm.c585 JERRY_CONTEXT (current_new_target), in vm_super_call()
591 ecma_value_t proto_value = ecma_op_object_get_by_magic_id (JERRY_CONTEXT (current_new_target), in vm_super_call()
2219 ecma_object_t *new_target_object = JERRY_CONTEXT (current_new_target); in vm_loop()
/third_party/jerryscript/jerry-core/api/
Djerry.c1655 ecma_object_t *old_new_target_p = JERRY_CONTEXT (current_new_target); in jerry_create_promise()
1659 JERRY_CONTEXT (current_new_target) = ecma_builtin_get (ECMA_BUILTIN_ID_PROMISE); in jerry_create_promise()
1664 JERRY_CONTEXT (current_new_target) = old_new_target_p; in jerry_create_promise()
3646 ecma_object_t *current_new_target = JERRY_CONTEXT (current_new_target); in jerry_get_new_target() local
3648 if (current_new_target == NULL) in jerry_get_new_target()
3653 ecma_ref_object (current_new_target); in jerry_get_new_target()
3654 return ecma_make_object_value (current_new_target); in jerry_get_new_target()
4532 ecma_object_t * old_new_target_p = JERRY_CONTEXT (current_new_target); in jerry_create_container()
4536 JERRY_CONTEXT (current_new_target) = ecma_builtin_get (ctor_id); in jerry_create_container()
4544 JERRY_CONTEXT (current_new_target) = old_new_target_p; in jerry_create_container()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-date.c740 if (JERRY_CONTEXT (current_new_target)) in ecma_builtin_date_dispatch_construct()
742 prototype_obj_p = ecma_op_get_prototype_from_constructor (JERRY_CONTEXT (current_new_target), in ecma_builtin_date_dispatch_construct()
827 if (JERRY_CONTEXT (current_new_target)) in ecma_builtin_date_dispatch_construct()
Decma-builtin-regexp.c55 ecma_object_t *new_target_p = JERRY_CONTEXT (current_new_target); in ecma_builtin_regexp_dispatch_helper()
Decma-builtins.c1189 ecma_object_t *old_new_target = JERRY_CONTEXT (current_new_target); in ecma_builtin_dispatch_construct()
1190 JERRY_CONTEXT (current_new_target) = new_target_p; in ecma_builtin_dispatch_construct()
1198 JERRY_CONTEXT (current_new_target) = old_new_target; in ecma_builtin_dispatch_construct()
Decma-builtin-array.c506 …cma_object_t *proto_p = ecma_op_get_prototype_from_constructor (JERRY_CONTEXT (current_new_target), in ecma_builtin_array_dispatch_construct()
/third_party/jerryscript/jerry-core/jcontext/
Djcontext.h236 ecma_object_t *current_new_target; member