Changeset 268 for trunk/xcache.h


Ignore:
Timestamp:
2006-10-29T03:05:01+01:00 (8 years ago)
Author:
moo
Message:

full compatible with auto_globals_jit, no need to disable it from now on

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.h

    r263 r268  
    128128        add_assoc_zval_ex(arg, key, key_len, value) 
    129129 
     130#   define zend_u_is_auto_global(type, name, name_len) \ 
     131        zend_is_auto_global(name, name_len) 
    130132#endif 
    131133/* }}} */ 
     
    221223} xc_funcinfo_t; 
    222224/* }}} */ 
     225#ifdef ZEND_ENGINE_2_1 
     226/* {{{ xc_autoglobal_t */ 
     227typedef struct { 
     228#ifdef IS_UNICODE 
     229    zend_uchar type; 
     230#endif 
     231    zstr       key; 
     232    zend_uint  key_len; 
     233} xc_autoglobal_t; 
     234/* }}} */ 
     235#endif 
    223236typedef enum { XC_TYPE_PHP, XC_TYPE_VAR } xc_entry_type_t; 
    224237/* {{{ xc_entry_data_php_t */ 
     
    244257    xc_classinfo_t *classinfos; 
    245258    zend_bool have_early_binding; 
     259 
     260#ifdef ZEND_ENGINE_2_1 
     261    zend_uint autoglobal_cnt; 
     262    xc_autoglobal_t *autoglobals; 
     263#endif 
    246264} xc_entry_data_php_t; 
    247265/* }}} */ 
Note: See TracChangeset for help on using the changeset viewer.