Ignore:
Timestamp:
2013-11-09T03:17:15+01:00 (9 months ago)
Author:
moo
Message:

relocate: fix handling hash table, TODO: fix dst/src stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/struct.m4

    r1454 r1460  
    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 src, ptrdiff_t ptrdiff, ptrdiff_t relocatediff') 
     17        IFRELOCATE(`$1 *const dst, ptrdiff_t ptrdiff, ptrdiff_t relocatediff') 
    1818        IFDASM(`xc_dasm_t *dasm, zval *dst, const $1 * const src') 
    1919        TSRMLS_DC 
     
    149149        IFRESTORE(`processor, $6 $2, $6 $3') 
    150150        IFRELOCATE(` 
    151             ifelse(`$6', `', `SRCPTR_EX(`$1', `$3')', `$6 $3') 
     151            ifelse(`$6', `', `DSTPTR_EX(`$1', `$3')', `$6 $3') 
    152152            , ptrdiff 
    153153            , relocatediff 
Note: See TracChangeset for help on using the changeset viewer.