Fix assertion on unhandled exceptions
Follow up fix after #815 ('a187e6d'). Fixed the following assertion on unhandled exceptions: * ICE: Assertion 'ecma_get_value_type_field (value) == ECMA_TYPE_OBJECT' failed at ecma-helpers-value.c(ecma_get_object_from_value):375. JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
This commit is contained in:
@@ -2238,6 +2238,9 @@ parser_set_show_instrs (int show_instrs) /**< flag indicating whether to dump by
|
||||
|
||||
/**
|
||||
* Parse EcamScript source code
|
||||
*
|
||||
* Note:
|
||||
* returned error object should be freed with jerry_api_release_object
|
||||
*/
|
||||
jsp_status_t
|
||||
parser_parse_script (const jerry_api_char_t *source_p, /**< source code */
|
||||
@@ -2260,6 +2263,9 @@ parser_parse_script (const jerry_api_char_t *source_p, /**< source code */
|
||||
|
||||
/**
|
||||
* Parse EcamScript eval source code
|
||||
*
|
||||
* Note:
|
||||
* returned error object should be freed with jerry_api_release_object
|
||||
*/
|
||||
jsp_status_t
|
||||
parser_parse_eval (const jerry_api_char_t *source_p, /**< source code */
|
||||
|
||||
Reference in New Issue
Block a user