Changeset 1444 in svn for trunk/processor/struct.m4


Ignore:
Timestamp:
2013-11-06T19:24:29+01:00 (19 months ago)
Author:
Xuefer
Message:

relocate WIP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/struct.m4

    r1443 r1444  
    1515        IFSTORE(  `xc_processor_t *processor, $1 *dst, const $1 * const src')
    1616        IFRESTORE(`xc_processor_t *processor, $1 *dst, const $1 * const src')
    17         IFPTRMOVE(`const xc_relocate_t *relocate, $1 * const dst, const $1 * const src')
    18         IFDASM(   `xc_dasm_t *dasm, zval *dst, const $1 * const src')
     17        IFRELOCATE(`const xc_relocate_t *relocate, $1 *const src')
     18        IFDASM(`xc_dasm_t *dasm, zval *dst, const $1 * const src')
    1919        TSRMLS_DC
    2020    )ifelse(`$3', `', `;')
     
    148148        IFSTORE(  `processor, $6 $2, $6 $3')
    149149        IFRESTORE(`processor, $6 $2, $6 $3')
    150         IFPTRMOVE(`
     150        IFRELOCATE(`
    151151            relocate
    152             , ifelse(`$6', `', `DSTPTR_EX(`$1', `$2')', `$6 $2')
    153152            , ifelse(`$6', `', `SRCPTR_EX(`$1', `$3')', `$6 $3')
    154153        ')
    155         IFDASM(   `dasm, ifdef(`DASM_STRUCT_DIRECT', `dst', `zv'), $6 $3')
     154        IFDASM(`dasm, ifdef(`DASM_STRUCT_DIRECT', `dst', `zv'), $6 $3')
    156155        TSRMLS_CC
    157156    );
     
    163162')
    164163    popdef(`FUNC_NAME')
    165     ifelse(`$6', , `FIXPOINTER_EX(`$1', `$2', `$3')')
     164    ifelse(`$6', , `FIXPOINTER_EX(`$1', `$2')')
    166165')
    167166dnl }}}
Note: See TracChangeset for help on using the changeset viewer.