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


Ignore:
Timestamp:
2013-11-08T10:08:42+01:00 (21 months ago)
Author:
Xuefer
Message:

relocate: fix struct array

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/struct.m4

    r1446 r1454  
    232232                    ++LOOPCOUNTER) {
    233233                DISABLECHECK(`
    234                     STRUCT(`$3', `$4[LOOPCOUNTER]', `$5')
     234                    pushdef(`ALLOC')
     235                    pushdef(`FIXPOINTER_EX')
     236                    STRUCT_P_EX(`$3', (DST(`$4') + LOOPCOUNTER), (SRC(`$4') + LOOPCOUNTER), `', `$5')
     237                    popdef(`FIXPOINTER_EX')
     238                    popdef(`ALLOC')
    235239                ')
    236240            }
Note: See TracChangeset for help on using the changeset viewer.