mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
new_target_object -> new_target_object_p (#4498)
Depends on https://github.com/jerryscript-project/jerryscript/pull/4478 JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo luoyonggang@gmail.com
This commit is contained in:
parent
69ce755593
commit
ccf511a544
@ -2698,15 +2698,15 @@ vm_loop (vm_frame_ctx_t *frame_ctx_p) /**< frame context */
|
||||
}
|
||||
case VM_OC_PUSH_NEW_TARGET:
|
||||
{
|
||||
ecma_object_t *new_target_object = JERRY_CONTEXT (current_new_target_p);
|
||||
if (new_target_object == NULL)
|
||||
ecma_object_t *new_target_object_p = JERRY_CONTEXT (current_new_target_p);
|
||||
if (new_target_object_p == NULL)
|
||||
{
|
||||
*stack_top_p++ = ECMA_VALUE_UNDEFINED;
|
||||
}
|
||||
else
|
||||
{
|
||||
ecma_ref_object (new_target_object);
|
||||
*stack_top_p++ = ecma_make_object_value (new_target_object);
|
||||
ecma_ref_object (new_target_object_p);
|
||||
*stack_top_p++ = ecma_make_object_value (new_target_object_p);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user