reduce number of mandatory precommit builds

This commit is contained in:
e.gavrin 2014-08-08 22:27:33 +04:00
commit 06d394cc2b
5 changed files with 7 additions and 12 deletions

View File

@ -45,8 +45,8 @@ FIXME( Pack ecma_object_t )
JERRY_STATIC_ASSERT( sizeof (ecma_object_t) <= 2 * sizeof (uint64_t) );
JERRY_STATIC_ASSERT( sizeof (ecma_array_header_t) <= sizeof (uint32_t) );
JERRY_STATIC_ASSERT( sizeof (ecma_array_first_chunk_t) == ECMA_ARRAY_CHUNK_SIZE_IN_BYTES );
JERRY_STATIC_ASSERT( sizeof (ecma_array_non_first_chunk_t) == ECMA_ARRAY_CHUNK_SIZE_IN_BYTES );
JERRY_STATIC_ASSERT( sizeof (ecma_array_first_chunk_t) == sizeof(uint64_t) );
JERRY_STATIC_ASSERT( sizeof (ecma_array_non_first_chunk_t) == sizeof(uint64_t) );
JERRY_STATIC_ASSERT( sizeof (ecma_completion_value_t) == sizeof(uint32_t) );
/**

View File

@ -459,11 +459,6 @@ typedef struct {
ecma_length_t unit_number;
} ecma_array_header_t;
/**
* Size of a chunk, containing a String's part, in bytes
*/
#define ECMA_ARRAY_CHUNK_SIZE_IN_BYTES 8
/**
* Description of first chunk in a chain of chunks that contains an Array.
*/
@ -472,7 +467,7 @@ typedef struct {
ecma_array_header_t header;
/** Elements */
uint8_t data[ ECMA_ARRAY_CHUNK_SIZE_IN_BYTES - sizeof (ecma_array_header_t) ];
uint8_t data[ sizeof(uint64_t) - sizeof (ecma_array_header_t) ];
} ecma_array_first_chunk_t;
/**
@ -483,7 +478,7 @@ typedef struct {
uint16_t next_chunk_p;
/** Characters */
uint8_t data[ ECMA_ARRAY_CHUNK_SIZE_IN_BYTES - sizeof (uint16_t) ];
uint8_t data[ sizeof(uint64_t) - sizeof (uint16_t) ];
} ecma_array_non_first_chunk_t;
/**

View File

@ -24,4 +24,4 @@ int deserialize_num_by_id (uint8_t);
const void *deserialize_bytecode (void);
uint8_t deserialize_min_temp (void);
#endif //DESERIALIZER_H
#endif //DESERIALIZER_H

View File

@ -24,4 +24,4 @@ void optimizer_adjust_jumps (OPCODE *, OPCODE *, int16_t);
void optimizer_reorder_scope (uint16_t, uint16_t);
void optimizer_run_passes (OPCODE *);
#endif // OPTIMIZER_PASSES_H
#endif // OPTIMIZER_PASSES_H

View File

@ -22,4 +22,4 @@ void pp_opcode (opcode_counter_t, OPCODE, bool);
void pp_strings (const char **, uint8_t);
void pp_nums (const int32_t *, uint8_t, uint8_t);
#endif // PRETTY_PRINTER
#endif // PRETTY_PRINTER