Mercurial > hg > CbC > old > device
diff mc-codegen.c @ 97:6d42fcac07af
*** empty log message ***
author | kono |
---|---|
date | Fri, 14 Mar 2003 01:07:37 +0900 |
parents | 185d2cc6a3a9 |
children | 07c2554e1cfa |
line wrap: on
line diff
--- a/mc-codegen.c Thu Mar 13 22:48:57 2003 +0900 +++ b/mc-codegen.c Fri Mar 14 01:07:37 2003 +0900 @@ -103,7 +103,7 @@ case DREGISTER: /* this is of course redundant... */ /* or why not creg=e2? */ - code_dregister(e2); + code_fregister(e2); fregv[freg]=1; return DOUBLE; case RLVAR: @@ -413,7 +413,7 @@ jcond(l1,cond); return; case DREGISTER: - code_cmp_dregister(e2); + code_cmp_fregister(e2); jcond(l1,cond); return; case CONST: @@ -428,7 +428,7 @@ } t=g_expr(e1); if(t==FLOAT||t==DOUBLE) - code_cmp_dregister(freg); + code_cmp_fregister(freg); else code_cmp_register(creg); jcond(l1,cond);