Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.238
 
1.239
 
MAIN:ragge:20081005155531
 
reader.c
_>9393 static void gencode(NODE *p, int cookie);
 9494 static void genxasm(NODE *p);
 9595 
<>96 -char *ltyp[] = { "", "LREG", "LOREG", "LTEMP" };
 97 -char *rtyp[] = { "", "RREG", "ROREG", "RTEMP" };
 98 -
9996 /* used when removing nodes */
 10097 struct tmpsave {
 10198         struct tmpsave *next;
     
 !
456453         case CALL:
 457454                 /* CALL arguments are handled special */
 458455                 for (p1 = p->n_right; p1->n_op == CM; p1 = p1->n_left)
<>459 -                        geninsn(p1->n_right, FOREFF);
 460 -                geninsn(p1, FOREFF);
  456+                        (void)geninsn(p1->n_right, FOREFF);
  457+                (void)geninsn(p1, FOREFF);
461458                 /* FALLTHROUGH */
 462459         case FLD:
 463460         case COMPL:
     
 !
478475                 p1 = p->n_left;
 479476                 p2 = p->n_right;
 480477                 p1->n_label = p2->n_lval;
<>481 -                geninsn(p1, FORCC);
  478+                (void)geninsn(p1, FORCC);
482479                 p->n_su = 0;
 483480                 break;
 484481 
 485482         case FORCE: /* XXX needed? */
<>486 -                geninsn(p->n_left, INREGS);
  483+                (void)geninsn(p->n_left, INREGS);
487484                 p->n_su = 0; /* su calculations traverse left */
 488485                 break;
 489486 
 490487         case XASM:
 491488                 for (p1 = p->n_left; p1->n_op == CM; p1 = p1->n_left)
<>492 -                        geninsn(p1->n_right, FOREFF);
 493 -                geninsn(p1, FOREFF);
  489+                        (void)geninsn(p1->n_right, FOREFF);
  490+                (void)geninsn(p1, FOREFF);
494491                 break;  /* all stuff already done? */
 495492 
 496493         case XARG:
     
 !
750747         if (p->n_op == ASSIGN &&
 751748             p->n_left->n_op == REG && p->n_right->n_op == REG &&
 752749             p->n_left->n_rval == p->n_right->n_rval &&
<>753 -            (q->visit & FORCC) == 0) { /* XXX should check if necessary */
  750+            (p->n_su & RVCC) == 0) { /* XXX should check if necessary */
754751                 /* do not emit anything */
 755752                 CDEBUG(("gencode(%p) assign nothing\n", p));
 756753                 rewrite(p, q->rewrite, cookie);
     
 !
855852         fprintf(prfil, ", " );
 856853 
 857854         prtreg(prfil, p);
<>858 -        fprintf(prfil, ", SU= %d(%cREG,%s,%s,%s,%s)\n",
  855+        fprintf(prfil, ", SU= %d(%cREG,%s,%s,%s,%s,%s,%s)\n",
859856             TBLIDX(p->n_su),
 860857             TCLASS(p->n_su)+'@',
 861858 #ifdef PRTABLE
     
 !
864861 #else
 865862             "",
 866863 #endif
<>867 -            ltyp[LMASK&p->n_su],
 868 -            rtyp[(p->n_su&RMASK) >> 2], p->n_su & DORIGHT ? "DORIGHT" : "");
  864+            p->n_su & LREG ? "LREG" : "", p->n_su & RREG ? "RREG" : "",
  865+            p->n_su & RVEFF ? "RVEFF" : "", p->n_su & RVCC ? "RVCC" : "",
  866+            p->n_su & DORIGHT ? "DORIGHT" : "");
<_869867 }
 870868 #endif
 871869 
FishEye: Open Source License registered to PCC.
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-12-21 18:19 +0100