Removing trailing whitespace from sources.

This commit is contained in:
Ruben Ayrapetyan
2014-12-19 14:16:44 +03:00
parent 6bb39bb8ea
commit 42c44830ce
15 changed files with 20 additions and 20 deletions
@@ -90,7 +90,7 @@ opfunc_try (opcode_t opdata, /**< operation data */
int_data->lex_env_p = old_env_p; int_data->lex_env_p = old_env_p;
ecma_deref_object (catch_env_p); ecma_deref_object (catch_env_p);
JERRY_ASSERT ((!ecma_is_completion_value_empty (try_completion) && int_data->pos <= catch_end_oc) 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)); || (ecma_is_completion_value_empty (try_completion) && int_data->pos == catch_end_oc));
} }
+1 -1
View File
@@ -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 min = 0;
int32_t max = array_length - 1; int32_t max = array_length - 1;
while (min <= max) while (min <= max)
{ {
int32_t mid = (min + max) / 2; int32_t mid = (min + max) / 2;
+1 -1
View File
@@ -781,7 +781,7 @@ typedef struct
/** Compressed pointer to an ecma_number_t */ /** Compressed pointer to an ecma_number_t */
unsigned int number_cp : ECMA_POINTER_FIELD_WIDTH; unsigned int number_cp : ECMA_POINTER_FIELD_WIDTH;
/** UInt32-represented number placed locally in the descriptor */ /** UInt32-represented number placed locally in the descriptor */
uint32_t uint32_number; uint32_t uint32_number;
+1 -1
View File
@@ -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_nan (num));
JERRY_ASSERT (!ecma_number_is_zero (num)); JERRY_ASSERT (!ecma_number_is_zero (num));
JERRY_ASSERT (!ecma_number_is_infinity (num)); JERRY_ASSERT (!ecma_number_is_infinity (num));
ecma_number_t num_m1 = ecma_number_get_prev (num); ecma_number_t num_m1 = ecma_number_get_prev (num);
ecma_number_t num_p1 = ecma_number_get_next (num); ecma_number_t num_p1 = ecma_number_get_next (num);
+1 -1
View File
@@ -680,7 +680,7 @@ ecma_number_trunc (ecma_number_t num) /**< ecma-number */
int32_t exponent; int32_t exponent;
const int32_t dot_shift = ecma_number_get_fraction_and_exponent (num, &fraction, &exponent); const int32_t dot_shift = ecma_number_get_fraction_and_exponent (num, &fraction, &exponent);
const bool sign = ecma_number_is_negative (num); const bool sign = ecma_number_is_negative (num);
if (exponent < 0) if (exponent < 0)
{ {
return 0; return 0;
+1 -1
View File
@@ -43,7 +43,7 @@ ecma_create_object (ecma_object_t *prototype_object_p, /**< pointer to prototybe
{ {
ecma_object_t *object_p = ecma_alloc_object (); ecma_object_t *object_p = ecma_alloc_object ();
object_p->container = 0; object_p->container = 0;
ecma_init_gc_info (object_p); ecma_init_gc_info (object_p);
object_p->container = jrt_set_bit_field_value (object_p->container, object_p->container = jrt_set_bit_field_value (object_p->container,
+1 -1
View File
@@ -341,7 +341,7 @@ ecma_op_array_object_define_own_property (ecma_object_t *obj_p, /**< the array o
break; break;
} }
} }
if (!reduce_succeeded) if (!reduce_succeeded)
{ {
ret_value = ecma_reject (is_throw); ret_value = ecma_reject (is_throw);
+1 -1
View File
@@ -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_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); 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); bool arg_already_declared = ecma_op_has_binding (env_p, formal_parameter_name_string_p);
if (!arg_already_declared) if (!arg_already_declared)
{ {
+1 -1
View File
@@ -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); ecma_number_t index = ecma_string_to_number (property_name_p);
uint32_index = ecma_number_to_uint32 (index); uint32_index = ecma_number_to_uint32 (index);
ecma_string_t *to_str_p = ecma_new_ecma_string_from_uint32 (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); bool are_equal = ecma_compare_ecma_strings (to_str_p, property_name_p);
+1 -1
View File
@@ -63,7 +63,7 @@ typedef enum
KW_PRIVATE, KW_PRIVATE,
KW_PROTECTED, KW_PROTECTED,
KW_PUBLIC, KW_PUBLIC,
KW_RETURN, KW_RETURN,
KW_STATIC, KW_STATIC,
KW_SUPER, KW_SUPER,
+1 -1
View File
@@ -2188,7 +2188,7 @@ rewrite_continues (void)
serializer_rewrite_op_meta (continue_oc, continue_op_meta); serializer_rewrite_op_meta (continue_oc, continue_op_meta);
} }
STACK_ITERATE_END(); STACK_ITERATE_END();
STACK_DROP (continue_targets, 1); STACK_DROP (continue_targets, 1);
STACK_DROP (continues, STACK_SIZE (continues) - STACK_TOP (U8)); STACK_DROP (continues, STACK_SIZE (continues) - STACK_TOP (U8));
STACK_DROP (U8, 1); STACK_DROP (U8, 1);
+2 -2
View File
@@ -1679,7 +1679,7 @@ parse_plain_for (void)
is_true_jmp_up %body is_true_jmp_up %body
*/ */
dump_jump_to_end_for_rewrite (); dump_jump_to_end_for_rewrite ();
// Skip till body // Skip till body
@@ -1967,7 +1967,7 @@ parse_while_statement (void)
lexer_seek (cond_loc); lexer_seek (cond_loc);
const operand cond = parse_expression_inside_parens (); const operand cond = parse_expression_inside_parens ();
dump_continue_iterations_check (cond); dump_continue_iterations_check (cond);
dumper_set_break_target (); dumper_set_break_target ();
rewrite_breaks (); rewrite_breaks ();
+1 -1
View File
@@ -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 (props, (uint8_t) (STACK_SIZE (props) - STACK_TOP (U8)));
STACK_DROP (U8, 1); STACK_DROP (U8, 1);
} }
+3 -3
View File
@@ -24,7 +24,7 @@ __aeabi_llsl:
mov r0, #0 mov r0, #0
bx lr bx lr
1: 1:
// r1 <<= r2; // r1 <<= r2;
lsl r1, r2 lsl r1, r2
@@ -76,7 +76,7 @@ __aeabi_llsr:
mov r1, #0 mov r1, #0
bx lr bx lr
1: 1:
// r0 >>= r2 // r0 >>= r2
lsr r0, r2 lsr r0, r2
@@ -90,7 +90,7 @@ __aeabi_llsr:
// r1 >>= r2 // r1 >>= r2
lsr r1, r2 lsr r1, r2
bx lr bx lr
2: 2:
+3 -3
View File
@@ -24,7 +24,7 @@ __aeabi_llsl:
mov r0, #0 mov r0, #0
bx lr bx lr
1: 1:
// r1 <<= r2; // r1 <<= r2;
lsl r1, r2 lsl r1, r2
@@ -76,7 +76,7 @@ __aeabi_llsr:
mov r1, #0 mov r1, #0
bx lr bx lr
1: 1:
// r0 >>= r2 // r0 >>= r2
lsr r0, r2 lsr r0, r2
@@ -90,7 +90,7 @@ __aeabi_llsr:
// r1 >>= r2 // r1 >>= r2
lsr r1, r2 lsr r1, r2
bx lr bx lr
2: 2: