New Allocator and improved String handling.
JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai dbatyai@inf.u-szeged.hu
This commit is contained in:
@@ -138,7 +138,7 @@ ecma_op_create_arguments_object (ecma_object_t *func_obj_p, /**< callee function
|
||||
indx++)
|
||||
{
|
||||
// i.
|
||||
if (literal_p[indx].u.packed_value == MEM_CP_NULL)
|
||||
if (literal_p[indx] == MEM_CP_NULL)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -755,9 +755,9 @@ ecma_op_object_get_property_names (ecma_object_t *obj_p, /**< object */
|
||||
JERRY_ASSERT (insertion_pos < array_index_name_pos);
|
||||
JERRY_ASSERT (index >= array_index_names_p[insertion_pos]);
|
||||
|
||||
uint32_t move_pos = ++array_index_name_pos;
|
||||
uint32_t move_pos = array_index_name_pos++;
|
||||
|
||||
while (move_pos != insertion_pos)
|
||||
while (move_pos > insertion_pos)
|
||||
{
|
||||
array_index_names_p[move_pos] = array_index_names_p[move_pos - 1u];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user