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


Ignore:
Timestamp:
2013-11-13T06:01:22+01:00 (20 months ago)
Author:
Xuefer
Message:

relocate: fix ifrelocate()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/struct.m4

    r1472 r1474  
    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         IFRELOCATE(`$1 *const dst, ptrdiff_t ptrdiff, ptrdiff_t relocatediff')
     17        IFRELOCATEONLY(`$1 *const dst, ptrdiff_t ptrdiff, ptrdiff_t relocatediff')
    1818        IFDASM(`xc_dasm_t *dasm, zval *dst, const $1 * const src')
    1919        TSRMLS_DC
     
    148148        IFSTORE(  `processor, $6 $2, $6 $3')
    149149        IFRESTORE(`processor, $6 $2, $6 $3')
    150         IFRELOCATE(`
     150        IFRELOCATEONLY(`
    151151            ifelse(`$6', `', `PTR_FROM_VIRTUAL_EX(`$1', `$3')', `$6 $3')
    152152            , ptrdiff
Note: See TracChangeset for help on using the changeset viewer.