Remove jerry_get_boolean_value (#4685)

JerryScript-DCO-1.0-Signed-off-by: Gergo Csizi csgergo92@gmail.com
This commit is contained in:
Gergo Csizi
2021-06-24 15:40:14 +02:00
committed by GitHub
parent 6de17b204e
commit 8f71871a39
40 changed files with 128 additions and 193 deletions
+1 -2
View File
@@ -75,8 +75,7 @@ assert_handler (const jerry_call_info_t *call_info_p, /**< call information */
count_in_assert++;
if (args_cnt == 1
&& jerry_value_is_boolean (args_p[0])
&& jerry_get_boolean_value (args_p[0]))
&& jerry_value_is_true (args_p[0]))
{
return jerry_create_boolean (true);
}