Introducing constructor for label completion values (for 'break' and 'continue' completion types).

This commit is contained in:
Ruben Ayrapetyan
2014-08-28 23:08:26 +04:00
parent 227c09fb3e
commit 164350b369
3 changed files with 29 additions and 3 deletions
+3
View File
@@ -70,6 +70,9 @@ extern void ecma_free_value (const ecma_value_t value, bool do_deref_if_object);
extern ecma_completion_value_t ecma_make_completion_value (ecma_completion_type_t type,
ecma_value_t value);
extern ecma_completion_value_t ecma_make_label_completion_value (ecma_completion_type_t type,
uint8_t depth_level,
uint16_t offset);
extern ecma_completion_value_t ecma_make_simple_completion_value (ecma_simple_value_t simple_value);
extern ecma_completion_value_t ecma_make_throw_value (ecma_object_t *exception_p);
extern ecma_completion_value_t ecma_make_empty_completion_value (void);