Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.192
 
1.193
 
MAIN:ragge:20081116133016
 
regs.c
_>21052105  * Set class on long-lived temporaries based on its type.
 21062106  */
 21072107 static void
<>2108 -traclass(NODE *p)
  2108+traclass(NODE *p, void *arg)
21092109 {
 21102110         REGW *nb;
 21112111 
     
 !
21182118 }
 21192119 
 21202120 static void
<>2121 -paint(NODE *p)
  2121+paint(NODE *p, void *arg)
21222122 {
 21232123         struct optab *q;
 21242124         REGW *w, *ww;
     
 !
22332233         if (DLIST_ISEMPTY(&spilledNodes, link)) {
 22342234                 DLIST_FOREACH(ip2, ip, qelem)
 22352235                         if (ip2->type == IP_NODE)
<>2236 -                                walkf(ip2->ip_node, paint);
  2236+                                walkf(ip2->ip_node, paint, 0);
22372237         }
 22382238 }
 22392239 
     
 !
22432243  * Will never end up here if not optimizing.
 22442244  */
 22452245 static void
<>2246 -longtemp(NODE *p)
  2246+longtemp(NODE *p, void *arg)
22472247 {
 22482248         NODE *l, *r;
 22492249         REGW *w;
     
 !
22732273  * XXX - must check if basic block structure is destroyed!
 22742274  */
 22752275 static void
<>2276 -shorttemp(NODE *p)
  2276+shorttemp(NODE *p, void *arg)
22772277 {
 22782278         struct interpass *nip;
 22792279         struct optab *q;
     
 !
23452345                 if (ip->type != IP_NODE)
 23462346                         continue;
 23472347                 cip = ip;
<>2348 -                walkf(ip->ip_node, shorttemp);  /* convert temps to oregs */
  2348+                walkf(ip->ip_node, shorttemp, 0); /* convert temps to oregs */
23492349         }
 23502350         if (!DLIST_ISEMPTY(spole, link))
 23512351                 comperr("treerewrite not empty");
     
 !
23672367                         continue;
 23682368                 nodepole = ip->ip_node;
 23692369                 thisline = ip->lineno;
<>2370 -                walkf(ip->ip_node, longtemp);   /* convert temps to oregs */
  2370+                walkf(ip->ip_node, longtemp, 0); /* convert temps to oregs */
23712371         }
 23722372         nodepole = NIL;
 23732373 }
     
 !
26282628                 if (ip->ip_node->n_op != XASM)
 26292629                         geninsn(ip->ip_node, FOREFF);
 26302630                 nsucomp(ip->ip_node);
<>2631 -                walkf(ip->ip_node, traclass);
  2631+                walkf(ip->ip_node, traclass, 0);
<_26322632         }
 26332633         nodepole = NIL;
 26342634         RDEBUG(("nsucomp allocated %d temps (%d,%d)\n",
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-11-01 02:14 +0100