Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.17
 
1.18
 
MAIN:ragge:20110407185015
 
code.c
_>196196         off = ARGINIT/SZINT + (reg - A0);
 197197         num = sz > navail ? navail : sz;
 198198         for (i = 0; i < num; i++) {
<>199 -                q = block(REG, NIL, NIL, INT, 0, MKAP(INT));
  199+                q = block(REG, NIL, NIL, INT, 0, 0);
200200                 q->n_rval = reg++;
<>201 -                p = block(REG, NIL, NIL, INT, 0, MKAP(INT));
  201+                p = block(REG, NIL, NIL, INT, 0, 0);
202202                 p->n_rval = FP;
<>203 -                p = block(PLUS, p, bcon(4*off++), INT, 0, MKAP(INT));
 204 -                p = block(UMUL, p, NIL, INT, 0, MKAP(INT));
  203+                p = block(PLUS, p, bcon(4*off++), INT, 0, 0);
  204+                p = block(UMUL, p, NIL, INT, 0, 0);
205205                 p = buildtree(ASSIGN, p, q);
 206206                 ecomp(p);
 207207         }
     
 !
297297                 return;
 298298         }
 299299 
<>300 -        t = tempnode(0, LONGLONG, 0, MKAP(LONGLONG));
  300+        t = tempnode(0, LONGLONG, 0, 0);
301301         tmpnr = regno(t);
<>302 -        q = block(REG, NIL, NIL, LONGLONG, 0, MKAP(LONGLONG));
  302+        q = block(REG, NIL, NIL, LONGLONG, 0, 0);
303303         q->n_rval = A0A1 + (reg - A0);
 304304         p = buildtree(ASSIGN, t, q);
 305305         ecomp(p);
     
 !
327327         NODE *p, *q, *t;
 328328         int tmpnr;
 329329 
<>330 -        t = tempnode(0, INT, 0, MKAP(INT));
  330+        t = tempnode(0, INT, 0, 0);
331331         tmpnr = regno(t);
<>332 -        q = block(REG, NIL, NIL, INT, 0, MKAP(INT));
  332+        q = block(REG, NIL, NIL, INT, 0, 0);
333333         q->n_rval = (*regp)++;
 334334         p = buildtree(ASSIGN, t, q);
 335335         ecomp(p);
     
 !
403403         while (reg <= lastreg) {
 404404                 NODE *p, *q;
 405405                 int off = ARGINIT/SZINT + (reg - A0);
<>406 -                q = block(REG, NIL, NIL, INT, 0, MKAP(INT));
  406+                q = block(REG, NIL, NIL, INT, 0, 0);
407407                 q->n_rval = reg++;
<>408 -                p = block(REG, NIL, NIL, INT, 0, MKAP(INT));
  408+                p = block(REG, NIL, NIL, INT, 0, 0);
409409                 p->n_rval = FP;
<>410 -                p = block(PLUS, p, bcon(4*off), INT, 0, MKAP(INT));
 411 -                p = block(UMUL, p, NIL, INT, 0, MKAP(INT));
  410+                p = block(PLUS, p, bcon(4*off), INT, 0, 0);
  411+                p = block(UMUL, p, NIL, INT, 0, 0);
412412                 p = buildtree(ASSIGN, p, q);
 413413                 ecomp(p);
 414414         }
     
 !
541541 
 542542         /* copy structure into registers */
 543543         for (i = 0; i < num; i++) {
<>544 -                t = tempnode(tmpnr, ty, 0, MKAP(PTR+ty));
 545 -                t = block(SCONV, t, NIL, PTR+INT, 0, MKAP(PTR+INT));
 546 -                t = block(PLUS, t, bcon(4*i), PTR+INT, 0, MKAP(PTR+INT));
  544+                t = tempnode(tmpnr, ty, 0, 0);
  545+                t = block(SCONV, t, NIL, PTR+INT, 0, 0);
  546+                t = block(PLUS, t, bcon(4*i), PTR+INT, 0, 0);
547547                 t = buildtree(UMUL, t, NIL);
 548548 
<>549 -                r = block(REG, NIL, NIL, INT, 0, MKAP(INT));
  549+                r = block(REG, NIL, NIL, INT, 0, 0);
550550                 r->n_rval = reg++;
 551551 
 552552                 r = buildtree(ASSIGN, r, t);
 553553                 if (q == NULL)
 554554                         q = r;
 555555                 else
<>556 -                        q = block(CM, q, r, INT, 0, MKAP(INT));
  556+                        q = block(CM, q, r, INT, 0, 0);
557557         }
 558558         off = ARGINIT/SZINT + nargregs;
 559559         for (i = num; i < sz; i++) {
<>560 -                t = tempnode(tmpnr, ty, 0, MKAP(PTR+ty));
 561 -                t = block(SCONV, t, NIL, PTR+INT, 0, MKAP(PTR+INT));
 562 -                t = block(PLUS, t, bcon(4*i), PTR+INT, 0, MKAP(PTR+INT));
  560+                t = tempnode(tmpnr, ty, 0, 0);
  561+                t = block(SCONV, t, NIL, PTR+INT, 0, 0);
  562+                t = block(PLUS, t, bcon(4*i), PTR+INT, 0, 0);
563563                 t = buildtree(UMUL, t, NIL);
 564564 
<>565 -                r = block(REG, NIL, NIL, INT, 0, MKAP(INT));
  565+                r = block(REG, NIL, NIL, INT, 0, 0);
566566                 r->n_rval = FP;
<>567 -                r = block(PLUS, r, bcon(4*off++), INT, 0, MKAP(INT));
 568 -                r = block(UMUL, r, NIL, INT, 0, MKAP(INT));
  567+                r = block(PLUS, r, bcon(4*off++), INT, 0, 0);
  568+                r = block(UMUL, r, NIL, INT, 0, 0);
569569 
 570570                 r = buildtree(ASSIGN, r, t);
 571571                 if (q == NULL)
 572572                         q = r;
 573573                 else
<>574 -                        q = block(CM, q, r, INT, 0, MKAP(INT));
  574+                        q = block(CM, q, r, INT, 0, 0);
575575         }
 576576 
 577577         if (parent->n_op == CM) {
 578578                 parent->n_left = q;
 579579                 q = l;
 580580         } else {
<>581 -                q = block(CM, q, l, INT, 0, MKAP(INT));
  581+                q = block(CM, q, l, INT, 0, 0);
582582         }
 583583 
 584584         *regp = reg;
     
 !
655655                 *rp = movearg_64bit(r, regp);
 656656         } else if (r->n_type == DOUBLE || r->n_type == LDOUBLE) {
 657657                 /* XXX bounce in and out of temporary to change to longlong */
<>658 -                NODE *t1 = tempnode(0, LONGLONG, 0, MKAP(LONGLONG));
  658+                NODE *t1 = tempnode(0, LONGLONG, 0, 0);
659659                 int tmpnr = regno(t1);
 660660                 NODE *t2 = tempnode(tmpnr, r->n_type, r->n_df, r->n_ap);
 661661                 t1movearg_64bit(t1, regp);
     
 !
668668                 }
 669669         } else if (r->n_type == FLOAT) {
 670670                 /* XXX bounce in and out of temporary to change to int */
<>671 -                NODE *t1 = tempnode(0, INT, 0, MKAP(INT));
  671+                NODE *t1 = tempnode(0, INT, 0, 0);
<_672672                 int tmpnr = regno(t1);
 673673                 NODE *t2 = tempnode(tmpnr, r->n_type, r->n_df, r->n_ap);
 674674                 t1movearg_32bit(t1, regp);
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-08-30 14:15 +0200