From 48812b4a61aaa3ca4cd070676e38a10694bfcd3a Mon Sep 17 00:00:00 2001 From: Zoltan Herczeg Date: Fri, 5 Aug 2016 02:03:51 -0700 Subject: [PATCH] Reduce memory consumption of ecma_property_hashmap_steps. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com --- jerry-core/ecma/base/ecma-property-hashmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jerry-core/ecma/base/ecma-property-hashmap.c b/jerry-core/ecma/base/ecma-property-hashmap.c index ca9be8063..df53fc05a 100644 --- a/jerry-core/ecma/base/ecma-property-hashmap.c +++ b/jerry-core/ecma/base/ecma-property-hashmap.c @@ -42,7 +42,7 @@ /** * Stepping values for searching items in the hashmap. */ -static const uint32_t ecma_property_hashmap_steps[ECMA_PROPERTY_HASHMAP_NUMBER_OF_STEPS] = +static const uint8_t ecma_property_hashmap_steps[ECMA_PROPERTY_HASHMAP_NUMBER_OF_STEPS] JERRY_CONST_DATA = { 3, 5, 7, 11, 13, 17, 19, 23 };