Browse Source

refcount could be increase, use -1/2 to keep away from 0 in both direction (either ++ or --)

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1388 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.1
Xuefer 7 years ago
parent
commit
52a1e4b242
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      processor/processor.m4

+ 1
- 1
processor/processor.m4 View File

@ -741,7 +741,7 @@ DEF_STRUCT_P_FUNC(`zend_op_array', , `dnl {{{
/* really fast shallow copy */
memcpy(dst, src, sizeof(src[0]));
DST(`refcount') = &XG(op_array_dummy_refcount_holder);
DST(`refcount[0]') = -1;
XG(op_array_dummy_refcount_holder) = ((zend_uint) -1) / 2;
#ifdef ZEND_ACC_ALIAS
if ((processor->active_class_entry_src && (processor->active_class_entry_src->ce_flags & ZEND_ACC_TRAIT))) {
PROC_ZSTRING(, function_name)


Loading…
Cancel
Save