mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Do not check call_arguments twice through parsing call expression (#4346)
Checking call_arguments twice happens in a special case that only if call_arguments <= 1 and opcode variable has CBC_EXT_SUPER_CALL. JerryScript-DCO-1.0-Signed-off-by: Leesoo Ahn lsahn@ooseel.net
This commit is contained in:
parent
5bd88e2723
commit
290e845759
@ -2630,8 +2630,7 @@ parser_process_unary_expression (parser_context_t *context_p, /**< context */
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if (call_arguments == 2)
|
||||
else if (call_arguments == 2)
|
||||
{
|
||||
if (opcode == CBC_CALL)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user