Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.24
 
1.25
 
MAIN:ragge:20110407185015
 
local.c
_>8282 
 8383                 p = tempnode(tmpnr, r->n_type, r->n_df, r->n_ap);
 8484                 if (isptrvoid) {
<>85 -                        p = block(PCONV, p, NIL, PTR+VOID,
 86 -                            p->n_df, MKAP(PTR+VOID));
  85+                        p = block(PCONV, p, NIL, PTR+VOID, p->n_df, 0);
8786                 }
 8887                 p = buildtree(COMOP, r, p);
 8988                 break;
     
 !
124123                 if (p->n_type != CHAR && p->n_type != UCHAR &&
 125124                     p->n_type != SHORT && p->n_type != USHORT)
 126125                         break;
<>127 -                p->n_left = block(SCONV, p->n_left, NIL, INT, 0, MKAP(INT));
  126+                p->n_left = block(SCONV, p->n_left, NIL, INT, 0, 0);
128127                 p->n_type = INT;
<>129 -                p->n_ap = MKAP(INT);
  128+                p->n_ap = 0;
130129                 p->n_rval = SZINT;
 131130                 break;
 132131 
     
 !
173172                 }
 174173                 if (l->n_type < INT || DEUNSIGN(l->n_type) == LONGLONG) {
 175174                         /* float etc? */
<>176 -                        p->n_left = block(SCONV, l, NIL,
 177 -                            UNSIGNED, 0, MKAP(UNSIGNED));
  175+                        p->n_left = block(SCONV, l, NIL, UNSIGNED, 0, 0);
178176                         break;
 179177                 }
 180178                 /* if left is SCONV, cannot remove */
     
 !
310308                         l->n_sp = NULL;
 311309                         l->n_op = ICON;
 312310                         l->n_type = m;
<>313 -                        l->n_ap = MKAP(m);
  311+                        l->n_ap = 0;
314312                         nfree(p);
 315313                         p = clocal(l);
 316314                 }
     
 !
323321                 if (o == MOD && p->n_type != CHAR && p->n_type != SHORT)
 324322                         break;
 325323                 /* make it an int division by inserting conversions */
<>326 -                p->n_left = block(SCONV, p->n_left, NIL, INT, 0, MKAP(INT));
 327 -                p->n_right = block(SCONV, p->n_right, NIL, INT, 0, MKAP(INT));
 328 -                p = block(SCONV, p, NIL, p->n_type, 0, MKAP(p->n_type));
  324+                p->n_left = block(SCONV, p->n_left, NIL, INT, 0, 0);
  325+                p->n_right = block(SCONV, p->n_right, NIL, INT, 0, 0);
  326+                p = block(SCONV, p, NIL, p->n_type, 0, 0);
329327                 p->n_left->n_type = INT;
 330328                 break;
 331329 
     
 !
340338                 /* put return value in return reg */
 341339                 p->n_op = ASSIGN;
 342340                 p->n_right = p->n_left;
<>343 -                p->n_left = block(REG, NIL, NIL, p->n_type, 0, MKAP(INT));
  341+                p->n_left = block(REG, NIL, NIL, p->n_type, 0, 0);
344342                 p->n_left->n_rval = RETREG(p->n_type);
 345343                 break;
 346344         }
     
 !
367365  
 368366         sp = IALLOC(sizeof(struct symtab));
 369367         sp->sclass = STATIC;
<>370 -        sp->sap = MKAP(p->n_type);
  368+        sp->sap = 0;
<_371369         sp->slevel = 1; /* fake numeric label */
 372370         sp->soffset = getlab();
 373371         sp->sflags = 0;
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-03 04:21 +0200