Remove trivial ecma_number arithmetic functions (#2123)

The affected function calls have been replaced with the appropriate arithmetic operands.

JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
Robert Fancsik
2017-12-07 13:41:02 +01:00
committed by László Langó
parent 8b109510fd
commit 90f2473f08
9 changed files with 29 additions and 115 deletions
@@ -295,7 +295,7 @@ ecma_builtin_math_dispatch_routine (uint16_t builtin_routine_id, /**< built-in w
else if (ecma_number_is_negative (x)
&& x >= -ECMA_NUMBER_HALF)
{
x = ecma_number_negate (ECMA_NUMBER_ZERO);
x = -ECMA_NUMBER_ZERO;
}
else
{