1
0
mirror of https://github.com/php/php-src.git synced 2026-04-16 04:21:18 +02:00
This commit is contained in:
Xinchen Hui
2018-05-08 17:32:35 +08:00
parent 4ad9cf4605
commit a48ade17db

View File

@@ -130,7 +130,7 @@ static zend_always_inline void zend_hash_real_init_mixed_ex(HashTable *ht)
{
uint32_t nSize = ht->nTableSize;
(ht)->nTableMask = HT_SIZE_TO_MASK(nSize);
ht->nTableMask = HT_SIZE_TO_MASK(nSize);
HT_SET_DATA_ADDR(ht, pemalloc(HT_SIZE_EX(nSize, HT_SIZE_TO_MASK(nSize)), GC_FLAGS(ht) & IS_ARRAY_PERSISTENT));
HT_FLAGS(ht) |= HASH_FLAG_INITIALIZED;
if (EXPECTED(ht->nTableMask == HT_SIZE_TO_MASK(HT_MIN_SIZE))) {