Adding several completion value construction and comparison helpers.
This commit is contained in:
@@ -42,7 +42,7 @@ fill_varg_list (int_data_t *int_data, /**< interpreter context */
|
||||
{
|
||||
ecma_completion_value_t evaluate_arg_completion = run_int_loop (int_data);
|
||||
|
||||
if (evaluate_arg_completion.type == ECMA_COMPLETION_TYPE_META)
|
||||
if (ecma_is_completion_value_meta (evaluate_arg_completion))
|
||||
{
|
||||
opcode_t next_opcode = read_opcode (int_data->pos);
|
||||
JERRY_ASSERT (next_opcode.op_idx == __op__idx_meta);
|
||||
@@ -66,7 +66,7 @@ fill_varg_list (int_data_t *int_data, /**< interpreter context */
|
||||
ret_value = evaluate_arg_completion;
|
||||
}
|
||||
|
||||
if (!ecma_is_empty_completion_value (ret_value))
|
||||
if (!ecma_is_completion_value_empty (ret_value))
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user