Removing trailing whitespace in liballocator, libecmaobjects and libecmaoperations.

This commit is contained in:
Ruben Ayrapetyan
2014-08-11 15:59:19 +04:00
parent 8e87c8d3ed
commit 8ce1ef3c8b
25 changed files with 82 additions and 82 deletions
+2 -2
View File
@@ -21,7 +21,7 @@
/** \addtogroup ecma ---TODO---
* @{
*
*
* \addtogroup ecmacomparison ECMA comparison
* @{
*/
@@ -88,7 +88,7 @@ ecma_op_abstract_equality_compare(ecma_value_t x, /**< first operand */
} else
{ // f.
JERRY_ASSERT( is_x_object );
return ( x.value == y.value );
}
} else if ( ( is_x_null && is_y_undefined )
+1 -1
View File
@@ -21,7 +21,7 @@
/** \addtogroup ecma ---TODO---
* @{
*
*
* \addtogroup ecmacomparison ECMA comparison
* @{
*/
+2 -2
View File
@@ -23,7 +23,7 @@
/** \addtogroup ecma ---TODO---
* @{
*
*
* \addtogroup ecmaconversion ECMA conversion routines
* @{
*/
@@ -134,7 +134,7 @@ ecma_op_same_value( ecma_value_t x, /**< ecma-value */
ecma_array_first_chunk_t* x_str_p = (ecma_array_first_chunk_t*)( ecma_get_pointer(x.value) );
ecma_array_first_chunk_t* y_str_p = (ecma_array_first_chunk_t*)( ecma_get_pointer(y.value) );
return ecma_compare_ecma_string_to_ecma_string( x_str_p, y_str_p);
return ecma_compare_ecma_string_to_ecma_string( x_str_p, y_str_p);
}
if ( is_x_boolean )
+1 -1
View File
@@ -21,7 +21,7 @@
/** \addtogroup ecma ---TODO---
* @{
*
*
* \addtogroup ecmaconversion ECMA conversion
* @{
*/
+2 -2
View File
@@ -24,7 +24,7 @@
/** \addtogroup ecma ---TODO---
* @{
*
*
* \addtogroup ecmafunctionobject ECMA Function object related routines
* @{
*/
@@ -284,7 +284,7 @@ ecma_op_function_call( ecma_object_t *func_obj_p, /**< Function object */
{
JERRY_UNIMPLEMENTED_REF_UNUSED_VARS( arguments_list_p );
}
ecma_completion_value_t completion = run_int_from_pos( code_first_opcode_idx,
this_binding,
local_env_p,
+1 -1
View File
@@ -21,7 +21,7 @@
/** \addtogroup ecma ---TODO---
* @{
*
*
* \addtogroup ecmafunctionobject ECMA Function object related routines
* @{
*/
+4 -4
View File
@@ -27,7 +27,7 @@
/** \addtogroup ecma ---TODO---
* @{
*
*
* \addtogroup ecmaoperations ECMA-defined operations
* @{
*/
@@ -51,7 +51,7 @@ ecma_op_get_value( ecma_reference_t ref) /**< ECMA-reference */
const bool has_object_base = ( base.value_type == ECMA_TYPE_OBJECT
&& !((ecma_object_t*)ecma_get_pointer(base.value))->is_lexical_environment );
const bool is_property_reference = has_primitive_base || has_object_base;
// GetValue_3
if ( is_unresolvable_reference )
{
@@ -65,7 +65,7 @@ ecma_op_get_value( ecma_reference_t ref) /**< ECMA-reference */
{
ecma_object_t *obj_p = ecma_get_pointer( base.value);
JERRY_ASSERT( obj_p != NULL && !obj_p->is_lexical_environment );
// GetValue_4.b case 1
/* return [[Get]]( base as this, ref.referenced_name_p) */
JERRY_UNIMPLEMENTED();
@@ -159,7 +159,7 @@ ecma_op_put_value(ecma_reference_t ref, /**< ECMA-reference */
// PutValue_4.b case 1
/* return [[Put]]( base as this, ref.referenced_name_p, value, ref.is_strict); */
JERRY_UNIMPLEMENTED();
JERRY_UNIMPLEMENTED();
} else
{
// PutValue_4.b case 2
+1 -1
View File
@@ -22,7 +22,7 @@
/** \addtogroup ecma ---TODO---
* @{
*
*
* \addtogroup ecmaglobalobject ECMA Global object related routines
* @{
*/
+1 -1
View File
@@ -20,7 +20,7 @@
/** \addtogroup ecma ---TODO---
* @{
*
*
* \addtogroup ecmaglobalobject ECMA Global object related routines
* @{
*/
+11 -11
View File
@@ -71,7 +71,7 @@ ecma_op_has_binding(ecma_object_t *lex_env_p, /**< lexical environment */
{
case ECMA_LEXICAL_ENVIRONMENT_DECLARATIVE:
{
ecma_property_t *property_p = ecma_find_named_property( lex_env_p, name_p);
ecma_property_t *property_p = ecma_find_named_property( lex_env_p, name_p);
has_binding = ( property_p != NULL ) ? ECMA_SIMPLE_VALUE_TRUE
: ECMA_SIMPLE_VALUE_FALSE;
@@ -87,7 +87,7 @@ ecma_op_has_binding(ecma_object_t *lex_env_p, /**< lexical environment */
break;
}
}
}
return ecma_make_completion_value(ECMA_COMPLETION_TYPE_NORMAL,
ecma_make_simple_value( has_binding),
@@ -121,7 +121,7 @@ ecma_op_create_mutable_binding(ecma_object_t *lex_env_p, /**< lexical environmen
ECMA_PROPERTY_WRITABLE,
ECMA_PROPERTY_NOT_ENUMERABLE,
is_deletable ? ECMA_PROPERTY_CONFIGURABLE
: ECMA_PROPERTY_NOT_CONFIGURABLE);
: ECMA_PROPERTY_NOT_CONFIGURABLE);
break;
@@ -161,7 +161,7 @@ ecma_op_create_mutable_binding(ecma_object_t *lex_env_p, /**< lexical environmen
return completion;
}
}
}
}
return ecma_make_empty_completion_value();
} /* ecma_op_create_mutable_binding */
@@ -189,7 +189,7 @@ ecma_op_set_mutable_binding(ecma_object_t *lex_env_p, /**< lexical environment *
{
case ECMA_LEXICAL_ENVIRONMENT_DECLARATIVE:
{
ecma_property_t *property_p = ecma_get_named_data_property( lex_env_p, name_p);
ecma_property_t *property_p = ecma_get_named_data_property( lex_env_p, name_p);
if ( property_p->u.named_data_property.writable == ECMA_PROPERTY_WRITABLE )
{
@@ -250,7 +250,7 @@ ecma_op_get_binding_value(ecma_object_t *lex_env_p, /**< lexical environment */
{
case ECMA_LEXICAL_ENVIRONMENT_DECLARATIVE:
{
ecma_property_t *property_p = ecma_get_named_data_property( lex_env_p, name_p);
ecma_property_t *property_p = ecma_get_named_data_property( lex_env_p, name_p);
ecma_value_t prop_value = property_p->u.named_data_property.value;
@@ -294,7 +294,7 @@ ecma_op_get_binding_value(ecma_object_t *lex_env_p, /**< lexical environment */
return ecma_op_object_get( binding_obj_p, name_p);
}
}
}
JERRY_UNREACHABLE();
} /* ecma_op_get_binding_value */
@@ -350,7 +350,7 @@ ecma_op_delete_binding(ecma_object_t *lex_env_p, /**< lexical environment */
return ecma_op_object_delete( binding_obj_p, name_p, false);
}
}
}
JERRY_UNREACHABLE();
} /* ecma_op_delete_binding */
@@ -395,7 +395,7 @@ ecma_op_implicit_this_value( ecma_object_t *lex_env_p) /**< lexical environment
return ecma_make_simple_completion_value( ECMA_SIMPLE_VALUE_UNDEFINED);
}
}
}
}
JERRY_UNREACHABLE();
} /* ecma_op_implicit_this_value */
@@ -436,7 +436,7 @@ ecma_op_create_immutable_binding(ecma_object_t *lex_env_p, /**< lexical environm
{
JERRY_UNREACHABLE();
}
}
}
JERRY_UNREACHABLE();
} /* ecma_op_create_immutable_binding */
@@ -473,7 +473,7 @@ ecma_op_initialize_immutable_binding(ecma_object_t *lex_env_p, /**< lexical envi
{
JERRY_UNREACHABLE();
}
}
}
JERRY_UNREACHABLE();
} /* ecma_op_initialize_immutable_binding */
+1 -1
View File
@@ -17,7 +17,7 @@
/** \addtogroup ecma ---TODO---
* @{
*
*
* \addtogroup ecmamagicstrings Collection of magic string constants used in ECMA
* @{
*/
+1 -1
View File
@@ -20,7 +20,7 @@
/** \addtogroup ecma ---TODO---
* @{
*
*
* \addtogroup ecmamagicstrings Collection of magic string constants used in ECMA
* @{
*/
@@ -21,7 +21,7 @@
/** \addtogroup ecma ---TODO---
* @{
*
*
* \addtogroup ecmaobjectsinternalops ECMA objects' operations
* @{
*/
@@ -21,7 +21,7 @@
/** \addtogroup ecma ---TODO---
* @{
*
*
* \addtogroup ecmaobjectsinternalops ECMA objects' operations
* @{
*/
+1 -1
View File
@@ -22,7 +22,7 @@
/** \addtogroup ecma ---TODO---
* @{
*
*
* \addtogroup ecmaoperations ECMA-defined operations
* @{
*/