Merge branch 'PHP-7.4'

* PHP-7.4:
  Set expectation to reduce hot code fragmentation
This commit is contained in:
Dmitry Stogov 2019-07-10 18:29:56 +03:00
commit cf0e15333e

View file

@ -71,7 +71,7 @@ END_EXTERN_C()
static zend_always_inline void gc_check_possible_root(zend_refcounted *ref)
{
if (GC_TYPE_INFO(ref) == IS_REFERENCE) {
if (EXPECTED(GC_TYPE_INFO(ref) == IS_REFERENCE)) {
zval *zv = &((zend_reference*)ref)->val;
if (!Z_COLLECTABLE_P(zv)) {