Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.235
 
1.236
 
MAIN:ragge:20140531151052
 
regs.c
_>18001800 #endif
 18011801 
 18021802         wast = trivially_colorable(w);
<>1803 -        NCLASS(w, c)--;
  1803+        if (NCLASS(w, c) > 0)
  1804+                NCLASS(w, c)--;
18041805         if (wast == trivially_colorable(w))
 18051806                 return;
 18061807 
     
 !
22132214                         break;
 22142215         }
 22152216 
<> 2217+        RRDEBUG(("SelectSpill: trying longrange\n"));
22162218         if (w == &spillWorklist) {
 22172219                 /* try to find another long-range variable */
 22182220                 DLIST_FOREACH(w, &spillWorklist, link) {
     
 !
22242226         }
 22252227 
 22262228         if (w == &spillWorklist) {
<> 2229+                RRDEBUG(("SelectSpill: trying not leaf\n"));
22272230                 /* no heuristics, just fetch first element */
 22282231                 /* but not if leaf */
 22292232                 DLIST_FOREACH(w, &spillWorklist, link) {
     
 !
22362239                 /* Eh, only leaves :-/ Try anyway */
 22372240                 /* May not be useable */
 22382241                 w = DLIST_NEXT(&spillWorklist, link);
<> 2242+                RRDEBUG(("SelectSpill: need leaf\n"));
22392243         }
 22402244  
 22412245         DLIST_REMOVE(w, link);
     
 !
24942498                  */
 24952499                 q = &table[TBLIDX(p->n_su)];
 24962500                 if (optype(p->n_op) == BITYPE &&
<>2497 -                    (q->rewrite & RLEFT && (p->n_su & DORIGHT) == 0) &&
 2498 -                    (TBLIDX(p->n_right->n_su) != 0)) {
  2501+                    (q->rewrite & RLEFT && (p->n_su & DORIGHT) == 0)) {
24992502                         *r = *l;
 25002503                         nip = ipnode(mkbinode(ASSIGN, l,
 25012504                             p->n_left, p->n_type));
 25022505                         p->n_left = r;
 25032506                 } else if (optype(p->n_op) == BITYPE &&
<>2504 -                    (q->rewrite & RRIGHT && (p->n_su & DORIGHT) != 0) &&
 2505 -                    (TBLIDX(p->n_left->n_su) != 0)) {
  2507+                    (q->rewrite & RRIGHT && (p->n_su & DORIGHT) != 0)) {
25062508                         *r = *l;
 25072509                         nip = ipnode(mkbinode(ASSIGN, l,
 25082510                             p->n_right, p->n_type));
     
 !
28142816 onlyperm: /* XXX - should not have to redo all */
 28152817         memset(edgehash, 0, sizeof(edgehash));
 28162818 
<> 2819+        /* clear adjacent node list */
  2820+        for (i = 0; i < MAXREGS; i++)
  2821+                for (j = 0; j < NUMCLASS+1; j++)
  2822+                        NCLASS(&ablock[i], j) = 0;
  2823+
<_28172824         if (tbits) {
 28182825                 memset(nblock+tempmin, 0, tbits * sizeof(REGW));
 28192826 #ifdef PCC_DEBUG
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-10-31 10:12 +0100