mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Removing trailing whitespace from sources.
This commit is contained in:
parent
6bb39bb8ea
commit
42c44830ce
@ -90,7 +90,7 @@ opfunc_try (opcode_t opdata, /**< operation data */
|
||||
int_data->lex_env_p = old_env_p;
|
||||
|
||||
ecma_deref_object (catch_env_p);
|
||||
|
||||
|
||||
JERRY_ASSERT ((!ecma_is_completion_value_empty (try_completion) && int_data->pos <= catch_end_oc)
|
||||
|| (ecma_is_completion_value_empty (try_completion) && int_data->pos == catch_end_oc));
|
||||
}
|
||||
|
||||
@ -580,7 +580,7 @@ ecma_builtin_bin_search_for_magic_string_id_in_array (const ecma_magic_string_id
|
||||
|
||||
int32_t min = 0;
|
||||
int32_t max = array_length - 1;
|
||||
|
||||
|
||||
while (min <= max)
|
||||
{
|
||||
int32_t mid = (min + max) / 2;
|
||||
|
||||
@ -781,7 +781,7 @@ typedef struct
|
||||
|
||||
/** Compressed pointer to an ecma_number_t */
|
||||
unsigned int number_cp : ECMA_POINTER_FIELD_WIDTH;
|
||||
|
||||
|
||||
/** UInt32-represented number placed locally in the descriptor */
|
||||
uint32_t uint32_number;
|
||||
|
||||
|
||||
@ -941,7 +941,7 @@ ecma_number_to_zt_string_calc_number_params (ecma_number_t num, /**< ecma-number
|
||||
JERRY_ASSERT (!ecma_number_is_nan (num));
|
||||
JERRY_ASSERT (!ecma_number_is_zero (num));
|
||||
JERRY_ASSERT (!ecma_number_is_infinity (num));
|
||||
|
||||
|
||||
ecma_number_t num_m1 = ecma_number_get_prev (num);
|
||||
ecma_number_t num_p1 = ecma_number_get_next (num);
|
||||
|
||||
|
||||
@ -680,7 +680,7 @@ ecma_number_trunc (ecma_number_t num) /**< ecma-number */
|
||||
int32_t exponent;
|
||||
const int32_t dot_shift = ecma_number_get_fraction_and_exponent (num, &fraction, &exponent);
|
||||
const bool sign = ecma_number_is_negative (num);
|
||||
|
||||
|
||||
if (exponent < 0)
|
||||
{
|
||||
return 0;
|
||||
|
||||
@ -43,7 +43,7 @@ ecma_create_object (ecma_object_t *prototype_object_p, /**< pointer to prototybe
|
||||
{
|
||||
ecma_object_t *object_p = ecma_alloc_object ();
|
||||
object_p->container = 0;
|
||||
|
||||
|
||||
ecma_init_gc_info (object_p);
|
||||
|
||||
object_p->container = jrt_set_bit_field_value (object_p->container,
|
||||
|
||||
@ -341,7 +341,7 @@ ecma_op_array_object_define_own_property (ecma_object_t *obj_p, /**< the array o
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (!reduce_succeeded)
|
||||
{
|
||||
ret_value = ecma_reject (is_throw);
|
||||
|
||||
@ -333,7 +333,7 @@ ecma_function_call_setup_args_variables (ecma_object_t *func_obj_p, /**< Functio
|
||||
|
||||
ecma_value_t formal_parameter_name_value = *formal_params_iterator.current_value_p;
|
||||
ecma_string_t *formal_parameter_name_string_p = ecma_get_string_from_value (formal_parameter_name_value);
|
||||
|
||||
|
||||
bool arg_already_declared = ecma_op_has_binding (env_p, formal_parameter_name_string_p);
|
||||
if (!arg_already_declared)
|
||||
{
|
||||
|
||||
@ -147,7 +147,7 @@ ecma_op_string_object_get_own_property (ecma_object_t *obj_p, /**< the array obj
|
||||
{
|
||||
ecma_number_t index = ecma_string_to_number (property_name_p);
|
||||
uint32_index = ecma_number_to_uint32 (index);
|
||||
|
||||
|
||||
ecma_string_t *to_str_p = ecma_new_ecma_string_from_uint32 (uint32_index);
|
||||
|
||||
bool are_equal = ecma_compare_ecma_strings (to_str_p, property_name_p);
|
||||
|
||||
@ -63,7 +63,7 @@ typedef enum
|
||||
KW_PRIVATE,
|
||||
KW_PROTECTED,
|
||||
KW_PUBLIC,
|
||||
|
||||
|
||||
KW_RETURN,
|
||||
KW_STATIC,
|
||||
KW_SUPER,
|
||||
|
||||
@ -2188,7 +2188,7 @@ rewrite_continues (void)
|
||||
serializer_rewrite_op_meta (continue_oc, continue_op_meta);
|
||||
}
|
||||
STACK_ITERATE_END();
|
||||
|
||||
|
||||
STACK_DROP (continue_targets, 1);
|
||||
STACK_DROP (continues, STACK_SIZE (continues) - STACK_TOP (U8));
|
||||
STACK_DROP (U8, 1);
|
||||
|
||||
@ -1679,7 +1679,7 @@ parse_plain_for (void)
|
||||
is_true_jmp_up %body
|
||||
|
||||
*/
|
||||
|
||||
|
||||
dump_jump_to_end_for_rewrite ();
|
||||
|
||||
// Skip till body
|
||||
@ -1967,7 +1967,7 @@ parse_while_statement (void)
|
||||
lexer_seek (cond_loc);
|
||||
const operand cond = parse_expression_inside_parens ();
|
||||
dump_continue_iterations_check (cond);
|
||||
|
||||
|
||||
dumper_set_break_target ();
|
||||
|
||||
rewrite_breaks ();
|
||||
|
||||
@ -193,7 +193,7 @@ syntax_check_for_syntax_errors_in_formal_param_list (bool is_strict, locus loc _
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
STACK_DROP (props, (uint8_t) (STACK_SIZE (props) - STACK_TOP (U8)));
|
||||
STACK_DROP (U8, 1);
|
||||
}
|
||||
|
||||
@ -24,7 +24,7 @@ __aeabi_llsl:
|
||||
mov r0, #0
|
||||
|
||||
bx lr
|
||||
|
||||
|
||||
1:
|
||||
// r1 <<= r2;
|
||||
lsl r1, r2
|
||||
@ -76,7 +76,7 @@ __aeabi_llsr:
|
||||
mov r1, #0
|
||||
|
||||
bx lr
|
||||
|
||||
|
||||
1:
|
||||
// r0 >>= r2
|
||||
lsr r0, r2
|
||||
@ -90,7 +90,7 @@ __aeabi_llsr:
|
||||
|
||||
// r1 >>= r2
|
||||
lsr r1, r2
|
||||
|
||||
|
||||
bx lr
|
||||
|
||||
2:
|
||||
|
||||
@ -24,7 +24,7 @@ __aeabi_llsl:
|
||||
mov r0, #0
|
||||
|
||||
bx lr
|
||||
|
||||
|
||||
1:
|
||||
// r1 <<= r2;
|
||||
lsl r1, r2
|
||||
@ -76,7 +76,7 @@ __aeabi_llsr:
|
||||
mov r1, #0
|
||||
|
||||
bx lr
|
||||
|
||||
|
||||
1:
|
||||
// r0 >>= r2
|
||||
lsr r0, r2
|
||||
@ -90,7 +90,7 @@ __aeabi_llsr:
|
||||
|
||||
// r1 >>= r2
|
||||
lsr r1, r2
|
||||
|
||||
|
||||
bx lr
|
||||
|
||||
2:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user