diff --git a/src/libcoreint/opcodes-ecma-try-catch-finally.c b/src/libcoreint/opcodes-ecma-try-catch-finally.c index f96012fb2..99902ddf7 100644 --- a/src/libcoreint/opcodes-ecma-try-catch-finally.c +++ b/src/libcoreint/opcodes-ecma-try-catch-finally.c @@ -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)); } diff --git a/src/libecmabuiltins/ecma-builtins.c b/src/libecmabuiltins/ecma-builtins.c index 4a8824774..c1fd46a76 100644 --- a/src/libecmabuiltins/ecma-builtins.c +++ b/src/libecmabuiltins/ecma-builtins.c @@ -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; diff --git a/src/libecmaobjects/ecma-globals.h b/src/libecmaobjects/ecma-globals.h index c65b23f30..228ac34ba 100644 --- a/src/libecmaobjects/ecma-globals.h +++ b/src/libecmaobjects/ecma-globals.h @@ -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; diff --git a/src/libecmaobjects/ecma-helpers-conversion.c b/src/libecmaobjects/ecma-helpers-conversion.c index a013f5179..63321a425 100644 --- a/src/libecmaobjects/ecma-helpers-conversion.c +++ b/src/libecmaobjects/ecma-helpers-conversion.c @@ -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); diff --git a/src/libecmaobjects/ecma-helpers-number.c b/src/libecmaobjects/ecma-helpers-number.c index c2fc45d12..dd27521ee 100644 --- a/src/libecmaobjects/ecma-helpers-number.c +++ b/src/libecmaobjects/ecma-helpers-number.c @@ -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; diff --git a/src/libecmaobjects/ecma-helpers.c b/src/libecmaobjects/ecma-helpers.c index ff365ad14..a1ed69f4d 100644 --- a/src/libecmaobjects/ecma-helpers.c +++ b/src/libecmaobjects/ecma-helpers.c @@ -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, diff --git a/src/libecmaoperations/ecma-array-object.c b/src/libecmaoperations/ecma-array-object.c index 9789547ce..2fac194db 100644 --- a/src/libecmaoperations/ecma-array-object.c +++ b/src/libecmaoperations/ecma-array-object.c @@ -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); diff --git a/src/libecmaoperations/ecma-function-object.c b/src/libecmaoperations/ecma-function-object.c index ff2bd2efa..d5239d12b 100644 --- a/src/libecmaoperations/ecma-function-object.c +++ b/src/libecmaoperations/ecma-function-object.c @@ -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) { diff --git a/src/libecmaoperations/ecma-string-object.c b/src/libecmaoperations/ecma-string-object.c index 35fdfb7db..78115058f 100644 --- a/src/libecmaoperations/ecma-string-object.c +++ b/src/libecmaoperations/ecma-string-object.c @@ -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); diff --git a/src/libjsparser/lexer.h b/src/libjsparser/lexer.h index 3dcf3816c..6ff88a7c3 100644 --- a/src/libjsparser/lexer.h +++ b/src/libjsparser/lexer.h @@ -63,7 +63,7 @@ typedef enum KW_PRIVATE, KW_PROTECTED, KW_PUBLIC, - + KW_RETURN, KW_STATIC, KW_SUPER, diff --git a/src/libjsparser/opcodes-dumper.c b/src/libjsparser/opcodes-dumper.c index 7c6111d1b..78793b47f 100644 --- a/src/libjsparser/opcodes-dumper.c +++ b/src/libjsparser/opcodes-dumper.c @@ -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); diff --git a/src/libjsparser/parser.c b/src/libjsparser/parser.c index b59845b9b..e4d21c0b8 100644 --- a/src/libjsparser/parser.c +++ b/src/libjsparser/parser.c @@ -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 (); diff --git a/src/libjsparser/syntax-errors.c b/src/libjsparser/syntax-errors.c index c0a156c3c..931637735 100644 --- a/src/libjsparser/syntax-errors.c +++ b/src/libjsparser/syntax-errors.c @@ -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); } diff --git a/src/libruntime/target/stm32f3/abi.S b/src/libruntime/target/stm32f3/abi.S index 8aa534116..6849486c1 100644 --- a/src/libruntime/target/stm32f3/abi.S +++ b/src/libruntime/target/stm32f3/abi.S @@ -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: diff --git a/src/libruntime/target/stm32f4/abi.S b/src/libruntime/target/stm32f4/abi.S index 8aa534116..6849486c1 100644 --- a/src/libruntime/target/stm32f4/abi.S +++ b/src/libruntime/target/stm32f4/abi.S @@ -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: