Changeset 233 for trunk/xcache.c


Ignore:
Timestamp:
2006-10-10T02:46:00+02:00 (8 years ago)
Author:
moo
Message:

processor: apply reference handling on opcode caching. reverted [196] [199] [220] and refix for #36

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r230 r233  
    16731673        if (stored_xce) { 
    16741674            if (XG(request_time) <= stored_xce->ctime + stored_xce->ttl) { 
    1675                 xc_processor_restore_zval(return_value, stored_xce->data.var->value TSRMLS_CC); 
     1675                xc_processor_restore_zval(return_value, stored_xce->data.var->value, stored_xce->have_references TSRMLS_CC); 
    16761676                /* return */ 
    16771677                break; 
     
    18301830                    fprintf(stderr, "incdec: notlong\n"); 
    18311831#endif 
    1832                     xc_processor_restore_zval(&oldzval, stored_xce->data.var->value TSRMLS_CC); 
     1832                    xc_processor_restore_zval(&oldzval, stored_xce->data.var->value, stored_xce->have_references TSRMLS_CC); 
    18331833                    convert_to_long(&oldzval); 
    18341834                    value = Z_LVAL(oldzval); 
Note: See TracChangeset for help on using the changeset viewer.