Replacing 'varg' opcode with 'meta' opcode with corresponding type.

This commit is contained in:
Ruben Ayrapetyan
2014-08-27 19:35:53 +04:00
parent 2feb159fd8
commit d286a93e2c
8 changed files with 90 additions and 99 deletions
+1 -3
View File
@@ -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++)