Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.138
 
1.139
 
MAIN:ragge:20050220124042
 
pftn.c
_>11581158 oalloc(struct symtab *p, int *poff )
 11591159 {
 11601160         int al, off, tsz;
<>1161 -        int noff = 0;
  1161+        int noff;
11621162 
 11631163         /*
 11641164          * Only generate tempnodes if we are optimizing,
 11651165          * and only for integers, floats or pointers.
 11661166          */
 11671167         if (Oflag && ((p->sclass == AUTO) || (p->sclass == REGISTER)) &&
 11681168             (p->stype < STRTY || ISPTR(p->stype))) {
<>1169 -                NODE *tn = tempnode(&noff, p->stype, p->sdf, p->ssue);
  1169+                NODE *tn = tempnode(0, p->stype, p->sdf, p->ssue);
11701170                 p->soffset = tn->n_lval;
 11711171                 p->sflags |= STNODE;
 11721172                 nfree(tn);
     
 !
12351235         t = p->stype;
 12361236         p->sflags |= (STNODE|SDYNARRAY);
 12371237         p->stype = INCREF(p->stype);    /* Make this an indirect pointer */
<>1238 -        p->soffset = 0;
 1239 -        tn = tempnode(&p->soffset, p->stype, p->sdf, p->ssue);
  1238+        tn = tempnode(0, p->stype, p->sdf, p->ssue);
  1239+        p->soffset = tn->n_lval;
12401240 
 12411241         df = p->sdf;
 12421242 
     
 !
12451245                 if (df->ddim >= 0)
 12461246                         continue;
 12471247                 n = arrstk[i++];
<>1248 -                no = 0;
 1249 -                nn = tempnode(&no, INT, 0, MKSUE(INT));
  1248+                nn = tempnode(0, INT, 0, MKSUE(INT));
  1249+                no = nn->n_lval;
12501250                 ecomp(buildtree(ASSIGN, nn, n)); /* Save size */
 12511251 
 12521252                 df->ddim = -no;
<>1253 -                n = tempnode(&no, INT, 0, MKSUE(INT));
  1253+                n = tempnode(no, INT, 0, MKSUE(INT));
<_12541254                 if (pol == NIL)
 12551255                         pol = n;
 12561256                 else
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-02 11:10 +0200