Changeset 311 in svn for trunk/processor/main.m4


Ignore:
Timestamp:
2006-12-09T16:27:03Z (9 years ago)
Author:
Xuefer
Message:

restruct cached compile, add md5 table to recognize and merge file with same content

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/main.m4

    r307 r311  
    136136define(`FIXPOINTER', `FIXPOINTER_EX(`$1', `dst->$2')')
    137137define(`FIXPOINTER_EX', `IFSTORE(`
    138     $2 = ($1 *) processor->xce_src->cache->shm->handlers->to_readonly(processor->xce_src->cache->shm, (char *)$2);
     138    $2 = ($1 *) processor->cache->shm->handlers->to_readonly(processor->cache->shm, (char *)$2);
    139139')')
    140140define(`UNFIXPOINTER', `UNFIXPOINTER_EX(`$1', `dst->$2')')
    141141define(`UNFIXPOINTER_EX', `IFSTORE(`
    142     $2 = ($1 *) processor->xce_src->cache->shm->handlers->to_readwrite(processor->xce_src->cache->shm, (char *)$2);
     142    $2 = ($1 *) processor->cache->shm->handlers->to_readwrite(processor->cache->shm, (char *)$2);
    143143')')
    144144dnl }}}
    145145dnl {{{ COPY
    146146define(`COPY', `IFNOTMEMCPY(`IFCOPY(`dst->$1 = src->$1;')')DONE(`$1')')
     147dnl }}}
     148dnl {{{ COPYPOINTER
     149define(`COPYPOINTER', `COPY(`$1')')
     150dnl }}}
     151dnl {{{ COPYARRAY
     152define(`COPYARRAY', `IFNOTMEMCPY(`IFCOPY(`memcpy(dst->$1, src->$1, sizeof(dst->$1));')')DONE(`$1')')
    147153dnl }}}
    148154dnl {{{ SETNULL_EX
     
    223229EXPORT(`xc_funcinfo_t')
    224230EXPORT(`xc_entry_t')
     231EXPORT(`xc_entry_data_php_t')
    225232EXPORT(`zval')
    226233
Note: See TracChangeset for help on using the changeset viewer.