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

fixed #41, early class binding

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/processor.m4

    r200 r212  
    474474DEF_STRUCT_P_FUNC(`zend_op_array', , `dnl {{{ 
    475475    IFRESTORE(` 
    476     if (!processor->readonly_protection) { 
     476    dnl shadow copy must NOT meet: 
     477    dnl readonly_protection=on 
     478    dnl main op_array && have early binding 
     479    if (!processor->readonly_protection && !(src == processor->xce_src->data.php->op_array && processor->xce_src->data.php->have_early_binding)) { 
    477480        /* really fast shallow copy */ 
    478481        memcpy(dst, src, sizeof(src[0])); 
     
    685688    STRUCT(zend_class_entry, cest) 
    686689#endif 
     690    DISPATCH(int, oplineno) 
    687691') 
    688692dnl }}} 
     
    715719    ') 
    716720    STRUCT_ARRAY(classinfo_cnt, xc_classinfo_t, classinfos) 
     721    DISPATCH(zend_bool, have_early_binding) 
    717722    popdef(`BEFORE_LOOP') 
    718723') 
Note: See TracChangeset for help on using the changeset viewer.