Fix jsp_early_error_check_for_duplication_of_prop_names.
Related issue: #689 JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
This commit is contained in:
@@ -125,6 +125,7 @@ jsp_early_error_check_for_duplication_of_prop_names (bool is_strict, locus loc _
|
||||
{
|
||||
if (STACK_SIZE (props) - STACK_TOP (size_t_stack) < 2)
|
||||
{
|
||||
STACK_DROP (props, (size_t) (STACK_SIZE (props) - STACK_TOP (size_t_stack)));
|
||||
STACK_DROP (size_t_stack, 1);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user