Changeset 495 in svn for trunk/processor/processor.m4


Ignore:
Timestamp:
2008-01-04T11:20:05Z (8 years ago)
Author:
Xuefer
Message:

shallow copy for some compiler result infos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/processor.m4

    r491 r495  
    764764#ifdef HAVE_XCACHE_CONSTANT
    765765    DISPATCH(zend_uint, constinfo_cnt)
    766     STRUCT_ARRAY(constinfo_cnt, xc_constinfo_t, constinfos)
     766    IFRESTORE(`
     767        COPY(constinfos)
     768    ', `
     769        STRUCT_ARRAY(constinfo_cnt, xc_constinfo_t, constinfos)
     770    ')
    767771#endif
    768772
     
    777781    ')
    778782    STRUCT_ARRAY(classinfo_cnt, xc_classinfo_t, classinfos)
     783    popdef(`BEFORE_LOOP')
    779784#ifdef ZEND_ENGINE_2_1
    780785    DISPATCH(zend_uint, autoglobal_cnt)
    781     STRUCT_ARRAY(autoglobal_cnt, xc_autoglobal_t, autoglobals)
     786    IFRESTORE(`
     787        COPY(autoglobals)
     788    ', `
     789        STRUCT_ARRAY(autoglobal_cnt, xc_autoglobal_t, autoglobals)
     790    ')
    782791#endif
    783792    DISPATCH(zend_bool, have_early_binding)
    784     popdef(`BEFORE_LOOP')
    785793    DISPATCH(zend_bool, have_references)
    786794')
Note: See TracChangeset for help on using the changeset viewer.