summaryrefslogtreecommitdiff
path: root/ext/opcache/zend_persist_calc.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-09-07 15:14:26 +0200
committerAnatol Belski <ab@php.net>2015-09-07 15:14:26 +0200
commit46792a9914cf0ab04cba01b9162c4954efafccc4 (patch)
treea4b02c3f8e0920d9887371352d8f8c7123e357b8 /ext/opcache/zend_persist_calc.c
parenteaf96698c7e3229b0217ca3a408fb3b50b9bd333 (diff)
downloadphp-git-46792a9914cf0ab04cba01b9162c4954efafccc4.tar.gz
remove unnecessary check
as it's unrelated to the size pre calculation
Diffstat (limited to 'ext/opcache/zend_persist_calc.c')
-rw-r--r--ext/opcache/zend_persist_calc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/opcache/zend_persist_calc.c b/ext/opcache/zend_persist_calc.c
index 3b8356ae7a..d07e309faa 100644
--- a/ext/opcache/zend_persist_calc.c
+++ b/ext/opcache/zend_persist_calc.c
@@ -71,7 +71,6 @@ static void zend_hash_persist_calc(HashTable *ht, void (*pPersistElement)(zval *
}
}
ADD_SIZE(hash_size * sizeof(uint32_t) + ht->nNumUsed * sizeof(Bucket));
- ZEND_ASSERT(((zend_uintptr_t)ZCG(mem) & 0x7) == 0); /* should be 8 byte aligned */
} else {
ADD_SIZE(HT_USED_SIZE(ht));
}