current_new_target -> current_new_target_p (#4478)
JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo luoyonggang@gmail.com
This commit is contained in:
@@ -69,7 +69,7 @@ ecma_builtin_reference_error_dispatch_construct (const ecma_value_t *arguments_l
|
||||
#if !ENABLED (JERRY_ESNEXT)
|
||||
return ecma_builtin_reference_error_dispatch_call (arguments_list_p, arguments_list_len);
|
||||
#else /* ENABLED (JERRY_ESNEXT) */
|
||||
ecma_object_t *proto_p = ecma_op_get_prototype_from_constructor (JERRY_CONTEXT (current_new_target),
|
||||
ecma_object_t *proto_p = ecma_op_get_prototype_from_constructor (JERRY_CONTEXT (current_new_target_p),
|
||||
ECMA_BUILTIN_ID_REFERENCE_ERROR_PROTOTYPE);
|
||||
|
||||
if (proto_p == NULL)
|
||||
|
||||
Reference in New Issue
Block a user