Changeset 1388 in svn for trunk


Ignore:
Timestamp:
2013-09-22T16:42:45Z (2 years ago)
Author:
Xuefer
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/processor.m4

    r1387 r1388  
    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.