File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -510,7 +510,7 @@ static zend_always_inline uint32_t zval_gc_info(uint32_t gc_type_info) {
510
510
#define Z_GC_TYPE_INFO (zval ) GC_TYPE_INFO(Z_COUNTED(zval))
511
511
#define Z_GC_TYPE_INFO_P (zval_p ) Z_GC_TYPE_INFO(*(zval_p))
512
512
513
- /* zval.value->gc.u.v.flags (common flags) */
513
+ /* zval_gc_flags( zval.value->gc.u.type_info) (common flags) */
514
514
#define GC_COLLECTABLE (1<<4)
515
515
#define GC_PROTECTED (1<<5) /* used for recursion detection */
516
516
#define GC_IMMUTABLE (1<<6) /* can't be canged in place */
@@ -953,8 +953,8 @@ static zend_always_inline uint32_t zval_gc_info(uint32_t gc_type_info) {
953
953
extern ZEND_API zend_bool zend_rc_debug ;
954
954
# define ZEND_RC_MOD_CHECK (p ) do { \
955
955
if (zend_rc_debug) { \
956
- ZEND_ASSERT(!(( p)->u.v.flags & GC_IMMUTABLE)); \
957
- ZEND_ASSERT((( p)->u.v.flags & (GC_PERSISTENT|GC_PERSISTENT_LOCAL)) != GC_PERSISTENT); \
956
+ ZEND_ASSERT(!(zval_gc_flags(( p)->u.type_info) & GC_IMMUTABLE)); \
957
+ ZEND_ASSERT((zval_gc_flags(( p)->u.type_info) & (GC_PERSISTENT|GC_PERSISTENT_LOCAL)) != GC_PERSISTENT); \
958
958
} \
959
959
} while (0)
960
960
# define GC_MAKE_PERSISTENT_LOCAL (p ) do { \
You can’t perform that action at this time.
0 commit comments