Improve delete property with undefined base (#3312)
This patch finally resolves #2891 also the removes the related bytecode since it has become unnecessary. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
committed by
Dániel Bátyai
parent
204de302aa
commit
be95aa33b4
@@ -1917,13 +1917,6 @@ vm_loop (vm_frame_ctx_t *frame_ctx_p) /**< frame context */
|
||||
#endif /* ENABLED (JERRY_ES2015) */
|
||||
continue;
|
||||
}
|
||||
case VM_OC_PUSH_UNDEFINED_BASE:
|
||||
{
|
||||
stack_top_p[0] = stack_top_p[-1];
|
||||
stack_top_p[-1] = ECMA_VALUE_UNDEFINED;
|
||||
stack_top_p++;
|
||||
continue;
|
||||
}
|
||||
case VM_OC_IDENT_REFERENCE:
|
||||
{
|
||||
uint16_t literal_index;
|
||||
|
||||
Reference in New Issue
Block a user