Introducing and implementing 'throw' and 'try' opcode handlers.

This commit is contained in:
Ruben Ayrapetyan
2014-08-28 18:57:34 +04:00
parent 647f6b3c67
commit ddb2e6e9d5
6 changed files with 255 additions and 15 deletions
+6
View File
@@ -130,6 +130,12 @@ run_int_loop (int_data_t *int_data)
continue;
}
if (completion.type == ECMA_COMPLETION_TYPE_META)
{
completion.type = ECMA_COMPLETION_TYPE_NORMAL;
JERRY_ASSERT (ecma_is_completion_value_normal (completion));
}
return completion;
}
}