Changeset 13826


Ignore:
Timestamp:
Jun 14, 2010, 10:19:27 AM (10 years ago)
Author:
gb
Message:

Use 'ifelse' correctly in m4 macros.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/arm/lisp-kernel/arm-macros.s

    r13809 r13826  
    158158       
    159159define(`ref_global',`
    160         __(mov ifelse($3,$3,$1),#nil_value)
    161         __(ldr $1,[ifelse($3,$3,$1),#lisp_globals.$2])
     160        __(mov ifelse($3,`',$1,$3),#nil_value)
     161        __(ldr $1,[ifelse($3,`',$1,$3),#lisp_globals.$2])
    162162')
    163163
     
    212212define(`build_lisp_frame',`
    213213        __(mov $1,#lisp_frame_marker)
    214         __(stmdb sp!,{$1,ifelse($2,$2,vsp),fn,lr})
     214        __(stmdb sp!,{$1,ifelse($2,`',vsp,$2),fn,lr})
    215215')
    216216
Note: See TracChangeset for help on using the changeset viewer.