Check reference count of objects
Throw an error if the object reference count reached the limit. Related issue: #118 JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
This commit is contained in:
@@ -47,6 +47,11 @@ jerry_fatal (jerry_fatal_code_t code) /**< status code */
|
||||
/* print nothing as it may invoke syscall recursively */
|
||||
break;
|
||||
}
|
||||
case ERR_REF_COUNT_LIMIT:
|
||||
{
|
||||
printf ("ERR_REF_COUNT_LIMIT\n");
|
||||
break;
|
||||
}
|
||||
case ERR_UNIMPLEMENTED_CASE:
|
||||
{
|
||||
printf ("ERR_UNIMPLEMENTED_CASE\n");
|
||||
|
||||
Reference in New Issue
Block a user