Remove exit completion value type.

JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
This commit is contained in:
Ruben Ayrapetyan
2015-06-28 15:03:36 +03:00
committed by Evgeny Gavrin
parent 447358cd4a
commit 06dffdec8f
20 changed files with 34 additions and 141 deletions
+2 -9
View File
@@ -1113,16 +1113,9 @@ jerry_api_eval (const char *source_p, /**< source code */
}
else
{
JERRY_ASSERT (ecma_is_completion_value_exit (completion));
JERRY_ASSERT (ecma_is_completion_value_empty (completion));
if (ecma_is_value_true (ecma_get_completion_value_value (completion)))
{
status = JERRY_COMPLETION_CODE_OK;
}
else
{
status = JERRY_COMPLETION_CODE_FAILED_ASSERTION_IN_SCRIPT;
}
status = JERRY_COMPLETION_CODE_OK;
}
}