Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.242
 
1.243
 
MAIN:ragge:20081116133016
 
reader.c
_>8585 struct interpass prepole;
 8686 
 8787 void saveip(struct interpass *ip);
<>88 -void deltemp(NODE *p);
  88+void deltemp(NODE *p, void *);
8989 static void cvtemps(struct interpass *ipole, int op, int off);
 9090 NODE *store(NODE *);
 9191 static void fixxasm(struct p2env *);
     
 !
105105 #ifdef PCC_DEBUG
 106106 static int *lbldef, *lbluse;
 107107 static void
<>108 -cktree(NODE *p)
  108+cktree(NODE *p, void *arg)
109109 {
 110110         int i;
 111111 
     
 !
160160                         lbldef[i-p2env.ipp->ip_lblnum] = 1;
 161161                 }
 162162                 if (ip->type == IP_NODE)
<>163 -                        walkf(ip->ip_node, cktree);
  163+                        walkf(ip->ip_node, cktree, 0);
164164         }
 165165         for (i = 0; i < (p2env.epp->ip_lblnum - p2env.ipp->ip_lblnum); i++)
 166166                 if (lbluse[i] != 0 && lbldef[i] == 0)
     
 !
273273                 if (ip->type != IP_NODE)
 274274                         continue;
 275275                 if (xtemps == 0)
<>276 -                        walkf(ip->ip_node, deltemp);
  276+                        walkf(ip->ip_node, deltemp, 0);
277277         }
 278278         DLIST_INIT(&prepole, qelem);
 279279         DLIST_FOREACH(ip, &p2env.ipole, qelem) {
     
 !
10011001  * change left TEMPs into OREGs
 10021002  */
 10031003 void
<>1004 -deltemp(NODE *p)
  1004+deltemp(NODE *p, void *arg)
10051005 {
 10061006         struct tmpsave *w;
 10071007         NODE *l, *r;
     
 !
10381038  * for pointer/integer arithmetic, set pointer at left node
 10391039  */
 10401040 static void
<>1041 -setleft(NODE *p)         
  1041+setleft(NODE *p, void *arg)
10421042 {       
 10431043         NODE *q;
 10441044 
     
 !
11531153  * look for situations where we can turn * into OREG
 11541154  */
 11551155 void
<>1156 -oreg2(NODE *p)
  1156+oreg2(NODE *p, void *arg)
11571157 {
 11581158         if (p->n_op != UMUL)
 11591159                 return;
     
 !
11671167 canon(p) NODE *p; {
 11681168         /* put p in canonical form */
 11691169 
<>1170 -        walkf(p, setleft);      /* ptrs at left node for arithmetic */
 1171 -        walkf(p, oreg2);        /* look for and create OREG nodes */
  1170+        walkf(p, setleft, 0);   /* ptrs at left node for arithmetic */
  1171+        walkf(p, oreg2, 0);     /* look for and create OREG nodes */
11721172 #ifndef FIELDOPS
 11731173         fwalk(p, ffld, 0);      /* look for field operators */
 11741174 # endif
     
 !
15021502 static int xasnum, xoffnum;
 15031503 
 15041504 static void
<>1505 -xconv(NODE *p)
  1505+xconv(NODE *p, void *arg)
15061506 {
 15071507         if (p->n_op != TEMP || p->n_rval != xasnum)
 15081508                 return;
     
 !
15241524 
 15251525         DLIST_FOREACH(ip, ipl, qelem)
 15261526                 if (ip->type == IP_NODE)
<>1527 -                        walkf(ip->ip_node, xconv);
 1528 -        walkf(ipl->ip_node, xconv);
  1527+                        walkf(ip->ip_node, xconv, 0);
  1528+        walkf(ipl->ip_node, xconv, 0);
<_15291529 }
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-09-21 20:11 +0200