diff options
| author | Charles.Forsyth <devnull@localhost> | 2009-06-27 21:08:09 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2009-06-27 21:08:09 +0000 |
| commit | 7b3bf63c0d3f8b97a41a7022310b70c5d40c6fc6 (patch) | |
| tree | 9169f8693575244e32c6a5737c6e0879a91453ed /utils | |
| parent | 7cdb1d14cab5ad4eceb9edfc484ea272cf8a062d (diff) | |
20090627-2207
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/5c/cgen.c | 4 | ||||
| -rw-r--r-- | utils/5c/swt.c | 4 | ||||
| -rw-r--r-- | utils/5l/obj.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/utils/5c/cgen.c b/utils/5c/cgen.c index 65db14c4..01bdb7e2 100644 --- a/utils/5c/cgen.c +++ b/utils/5c/cgen.c @@ -873,12 +873,12 @@ sugen(Node *n, Node *nn, long w) reglcgen(&nod1, nn, Z); nn->type = t; - if(1 || align(0, types[TCHAR], Aarg1)) /* isbigendian */ + if(align(0, types[TCHAR], Aarg1)) /* isbigendian */ gopcode(OAS, nod32const(n->vconst>>32), Z, &nod1); else gopcode(OAS, nod32const(n->vconst), Z, &nod1); nod1.xoffset += SZ_LONG; - if(1 || align(0, types[TCHAR], Aarg1)) /* isbigendian */ + if(align(0, types[TCHAR], Aarg1)) /* isbigendian */ gopcode(OAS, nod32const(n->vconst), Z, &nod1); else gopcode(OAS, nod32const(n->vconst>>32), Z, &nod1); diff --git a/utils/5c/swt.c b/utils/5c/swt.c index 4c2b33ec..5ee0e39f 100644 --- a/utils/5c/swt.c +++ b/utils/5c/swt.c @@ -382,13 +382,13 @@ gextern(Sym *s, Node *a, long o, long w) { if(a->op == OCONST && typev[a->type->etype]) { - if(1 || align(0, types[TCHAR], Aarg1)) /* isbigendian */ + if(align(0, types[TCHAR], Aarg1)) /* isbigendian */ gpseudo(ADATA, s, nod32const(a->vconst>>32)); else gpseudo(ADATA, s, nod32const(a->vconst)); p->from.offset += o; p->reg = 4; - if(1 || align(0, types[TCHAR], Aarg1)) /* isbigendian */ + if(align(0, types[TCHAR], Aarg1)) /* isbigendian */ gpseudo(ADATA, s, nod32const(a->vconst)); else gpseudo(ADATA, s, nod32const(a->vconst>>32)); diff --git a/utils/5l/obj.c b/utils/5l/obj.c index af9380dc..2eadf877 100644 --- a/utils/5l/obj.c +++ b/utils/5l/obj.c @@ -1387,7 +1387,7 @@ nuxiinit(void) inuxi1[i] = c; inuxi4[i] = c; fnuxi4[i] = c; - if(debug['d']){ + if(!debug['d']){ fnuxi8[i] = c; fnuxi8[i+4] = c+4; } |
