Revert "Fixing ecma_compare_zt_string_to_ecma_string routine."
This reverts commit c6e955aa2b231076b3ec70c55b38084afb4d01d2.
This commit is contained in:
@@ -457,7 +457,7 @@ typedef struct {
|
||||
/**
|
||||
* Size of a chunk, containing a String's part, in bytes
|
||||
*/
|
||||
#define ECMA_ARRAY_CHUNK_SIZE_IN_BYTES 8
|
||||
#define ECMA_ARRAY_CHUNK_SIZE_IN_BYTES 32
|
||||
|
||||
/**
|
||||
* Description of first chunk in a chain of chunks that contains an Array.
|
||||
|
||||
@@ -732,7 +732,7 @@ ecma_compare_zt_string_to_ecma_string(const ecma_char_t *string_p, /**< zero-ter
|
||||
|
||||
JERRY_ASSERT( next_chunk_p != NULL );
|
||||
|
||||
current_chunk_chars_cur = (const ecma_char_t*) next_chunk_p->data;
|
||||
current_chunk_chars_cur = (const ecma_char_t*) ecma_string_p->data;
|
||||
current_chunk_chars_end = (const ecma_char_t*) (next_chunk_p->data + sizeof(next_chunk_p->data));
|
||||
|
||||
next_chunk_compressed_pointer_p = &next_chunk_p->next_chunk_p;
|
||||
|
||||
Reference in New Issue
Block a user