Mercurial > hg > CbC > old > device
changeset 932:da35b4de1f9f
fix
author | kono |
---|---|
date | Sun, 13 Apr 2014 18:08:01 +0900 |
parents | 2ed46e515c55 |
children | 4a7eb50b4f17 |
files | mc-code-i64.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mc-code-i64.c Sun Apr 13 17:46:30 2014 +0900 +++ b/mc-code-i64.c Sun Apr 13 18:08:01 2014 +0900 @@ -1847,8 +1847,8 @@ void code_crgvar(int e1,int creg,int sign,int sz){ use_int(creg); +#ifdef __APPLE__ NMTBL *nptr = ncaddr(e1); -#ifdef __APPLE__ if (nptr->sc==STATIC && !(is_code(nptr)||is_function(nptr))) { printf("\t%s _%s+%d(%%rip),%s\n", cload(sign,sz),nptr->nm,cadr(e1),register_name(creg,regu(sign,sz,0))); return;