Changeset 52a1e4b in git for processor/processor.m4


Ignore:
Timestamp:
2013-09-22T16:42:45Z (6 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.1, 3.2, master, trunk
Children:
eb93629
Parents:
bd30aa1
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • processor/processor.m4

    rbd30aa1 r52a1e4b  
    742742        memcpy(dst, src, sizeof(src[0]));
    743743        DST(`refcount') = &XG(op_array_dummy_refcount_holder);
    744         DST(`refcount[0]') = -1;
     744        XG(op_array_dummy_refcount_holder) = ((zend_uint) -1) / 2;
    745745#ifdef ZEND_ACC_ALIAS
    746746        if ((processor->active_class_entry_src && (processor->active_class_entry_src->ce_flags & ZEND_ACC_TRAIT))) {
Note: See TracChangeset for help on using the changeset viewer.