Replacing 'varg' opcode with 'meta' opcode with corresponding type.
This commit is contained in:
@@ -68,7 +68,7 @@ run_int (void)
|
||||
switch ((ecma_completion_type_t) completion.type)
|
||||
{
|
||||
case ECMA_COMPLETION_TYPE_NORMAL:
|
||||
case ECMA_COMPLETION_TYPE_VARG:
|
||||
case ECMA_COMPLETION_TYPE_META:
|
||||
{
|
||||
JERRY_UNREACHABLE ();
|
||||
}
|
||||
@@ -170,8 +170,6 @@ run_int_from_pos (opcode_counter_t start_pos,
|
||||
|
||||
completion = run_int_loop (&int_data);
|
||||
|
||||
JERRY_ASSERT (completion.type != ECMA_COMPLETION_TYPE_VARG);
|
||||
|
||||
for (uint32_t reg_index = 0;
|
||||
reg_index < regs_num;
|
||||
reg_index++)
|
||||
|
||||
Reference in New Issue
Block a user