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:
Ruben Ayrapetyan
2015-06-28 17:59:50 +03:00
committed by Evgeny Gavrin
parent dc095bb902
commit 6e2733dbfd
3 changed files with 41 additions and 0 deletions
+4
View File
@@ -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)