Reduce register pressure by reusing registers, allocated for argument preparation instruction sequence.
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
This commit is contained in:
committed by
Evgeny Gavrin
parent
dc095bb902
commit
6e2733dbfd
@@ -521,6 +521,8 @@ parse_argument_list (varg_list_type vlt, operand obj, uint8_t *args_count, opera
|
||||
skip_newlines ();
|
||||
while (!token_is (close_tt))
|
||||
{
|
||||
dumper_start_varg_code_sequence ();
|
||||
|
||||
operand op;
|
||||
|
||||
if (vlt == VARG_FUNC_DECL
|
||||
@@ -572,6 +574,8 @@ parse_argument_list (varg_list_type vlt, operand obj, uint8_t *args_count, opera
|
||||
}
|
||||
|
||||
args_num++;
|
||||
|
||||
dumper_finish_varg_code_sequence ();
|
||||
}
|
||||
|
||||
if (args_count != NULL)
|
||||
|
||||
Reference in New Issue
Block a user