From 98a11c13d51a807c8e4a685b472bf16bf310e21f Mon Sep 17 00:00:00 2001 From: Ruben Ayrapetyan Date: Wed, 3 Dec 2014 19:25:01 +0300 Subject: [PATCH] Padding ecma_lcache_entry_t to 8 bytes size. --- src/libecmaobjects/ecma-lcache.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/libecmaobjects/ecma-lcache.c b/src/libecmaobjects/ecma-lcache.c index 4a65bcc06..921b3f83b 100644 --- a/src/libecmaobjects/ecma-lcache.c +++ b/src/libecmaobjects/ecma-lcache.c @@ -39,8 +39,13 @@ typedef struct /** Compressed pointer to a property of the object */ uint16_t prop_cp; + + /** Padding structure to 8 bytes size */ + uint16_t padding; } ecma_lcache_hash_entry_t; +JERRY_STATIC_ASSERT (sizeof (ecma_lcache_hash_entry_t) == sizeof (uint64_t)); + /** * LCache hash value length, in bits */