Changeset 1388


Ignore:
Timestamp:
2013-09-22T18:42:45+02:00 (7 months ago)
Author:
moo
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.