Style fixes in liballocator, libecmaobjects, libecmaoperations: putting else on separate line after closing brace of 'if' block.

This commit is contained in:
Ruben Ayrapetyan
2014-08-12 13:52:01 +04:00
parent 701f03309a
commit aa43e06366
8 changed files with 68 additions and 34 deletions
+4 -2
View File
@@ -218,11 +218,13 @@ ecma_op_to_boolean (ecma_value_t value) /**< ecma-value */
if (ecma_is_value_boolean (value))
{
return ecma_make_simple_completion_value (value.value);
} else if (ecma_is_value_undefined (value)
}
else if (ecma_is_value_undefined (value)
|| ecma_is_value_null (value))
{
return ecma_make_simple_completion_value (ECMA_SIMPLE_VALUE_FALSE);
} else
}
else
{
JERRY_UNREACHABLE();
}