Changeset 95 for trunk/processor/processor.m4
- Timestamp:
- 07/16/2006 11:07:57 AM (2 years ago)
- Files:
-
- 1 modified
-
trunk/processor/processor.m4 (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/processor/processor.m4
r94 r95 5 5 DECL_STRUCT_P_FUNC(`zend_op_array') 6 6 DECL_STRUCT_P_FUNC(`zend_class_entry') 7 #ifdef HAVE_XCACHE_CONSTANT 8 DECL_STRUCT_P_FUNC(`zend_constant') 9 #endif 7 10 DECL_STRUCT_P_FUNC(`zend_function') 8 11 DECL_STRUCT_P_FUNC(`xc_entry_t') … … 59 62 dnl }}} 60 63 DEF_HASH_TABLE_FUNC(`HashTable_zval_ptr', `zval_ptr') 64 #ifdef HAVE_XCACHE_CONSTANT 65 DEF_HASH_TABLE_FUNC(`HashTable_zend_constant', `zend_constant') 66 #endif 61 67 DEF_HASH_TABLE_FUNC(`HashTable_zend_function', `zend_function') 62 68 #ifdef ZEND_ENGINE_2 … … 205 211 #endif 206 212 dnl }}} 213 #ifdef HAVE_XCACHE_CONSTANT 214 DEF_STRUCT_P_FUNC(`zend_constant', , `dnl {{{ 215 STRUCT(zval, value) 216 DISPATCH(int, flags) 217 DISPATCH(uint, name_len) 218 PROC_STRING_L(name, name_len) 219 zstr name; 220 DISPATCH(int, module_number) 221 ') 222 dnl }}} 223 #endif 207 224 DEF_STRUCT_P_FUNC(`zend_function', , `dnl {{{ 208 225 DISABLECHECK(` … … 599 616 STRUCT_P(HashTable, static_variables, HashTable_zval_ptr) 600 617 601 IFCOPY(`dst->start_op = src->start_op;') 602 DONE(start_op) 618 COPY(start_op) 603 619 DISPATCH(int, backpatch_count) 604 620 … … 628 644 dnl }}} 629 645 646 #ifdef HAVE_XCACHE_CONSTANT 647 DEF_STRUCT_P_FUNC(`xc_constinfo_t', , `dnl {{{ 648 DISPATCH(zend_uint, key_size) 649 #ifdef IS_UNICODE 650 DISPATCH(zend_uchar, type) 651 #endif 652 IFRESTORE(`COPY(key)', ` 653 PROC_USTRING_N(type, key, key_size) 654 ') 655 STRUCT(zend_constant, constant) 656 ') 657 dnl }}} 658 #endif 630 659 DEF_STRUCT_P_FUNC(`xc_funcinfo_t', , `dnl {{{ 631 660 DISPATCH(zend_uint, key_size) … … 666 695 667 696 STRUCT_P(zend_op_array, op_array) 697 698 #ifdef HAVE_XCACHE_CONSTANT 699 DISPATCH(zend_uint, constinfo_cnt) 700 STRUCT_ARRAY(constinfo_cnt, xc_constinfo_t, constinfos) 701 #endif 668 702 669 703 DISPATCH(zend_uint, funcinfo_cnt)

