diff mc-codegen.c @ 151:81032a1b8a5d

MIPS continue
author kono
date Mon, 14 Jul 2003 14:40:35 +0900
parents cb7aa0089681
children 3edd10355434
line wrap: on
line diff
--- a/mc-codegen.c	Mon Jul 14 14:05:20 2003 +0900
+++ b/mc-codegen.c	Mon Jul 14 14:40:35 2003 +0900
@@ -1122,10 +1122,12 @@
     switch(car(e2)) {
     case GVAR:
             g_expr(e4);
+	    creg = d?use_double(creg):use_float(creg);
 	    code_dassign_gvar(e2,creg,d);
             return;
     case LVAR:
             g_expr(e4);
+	    creg = d?use_double(creg):use_float(creg);
 	    code_dassign_lvar(cadr(e2),creg,d);
             return;
     case DREGISTER:
@@ -1316,6 +1318,7 @@
 	case SASS: case ASS: case CASS: case FASS: case DASS: case LASS: 
 	case ASSOP: case CASSOP: case DASSOP: case FASSOP: case COMMA:
         case EQ: case NEQ:
+        case LAND: case LOR:
         case DOP+EQ: case DOP+NEQ:
         case FOP+EQ: case FOP+NEQ:
         case LT: case ULT: case LE: case ULE: