Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.105
 
1.106
 
MAIN:ragge:20040520132618
 
trees.c
_>11201120                 t = LONGLONG;
 11211121         else if (t1==LONG || t2==LONG)
 11221122                 t = LONG;
<>1123 -        else
  1123+        else if (t1==INT || t2==INT)
11241124                 t = INT;
<> 1125+        else if (t1==SHORT || t2==SHORT)
  1126+                t = SHORT;
  1127+        else
  1128+                t = CHAR;
11251129 
 11261130         if( casgop(o) ){
 11271131                 tu = p->n_left->n_type;
     
 !
14801484 NODE *
 14811485 tempnode(int *nr, TWORD type, union dimfun *df, struct suedef *sue)
 14821486 {
<> 1487+        int oalloc(struct symtab *p, int *poff);
14831488         NODE *p, *r;
<>1484 -        int al, tsz;
14851489 
 14861490         if (*nr == 0) {
<> 1491+                struct symtab s;
  1492+
  1493+                /* fake a symtab entry for oalloc */
  1494+                s.stype = type;
  1495+                s.ssue = sue;
  1496+                s.sdf = df;
  1497+                s.sclass = AUTO;
  1498+                s.soffset = NOOFFSET;
  1499+                oalloc(&s, &autooff);
  1500+                if (autooff > maxautooff)
  1501+                        maxautooff = autooff;
  1502+                *nr = s.soffset;
  1503+        }
  1504+#if 0
  1505+        if (*nr == 0) {
14871506                 al = talign(type, sue);
 14881507                 tsz = tsize(type, df, sue);
 14891508                 *nr = upoff(tsz, al, &autooff);
 14901509                 if (autooff > maxautooff)
 14911510                         maxautooff = autooff;
 14921511         }
<> 1512+#endif
14931513 #if 1
 14941514         p = block(OREG, NIL, NIL, type, df, sue);
 14951515         p->n_rval = FPREG;
     
 !
19161936                         delasgop(r);
 19171937                         ecode(r);
 19181938                 } else {
<> 1939+#if 0 /* Cannot call buildtree() here, it would invoke double add shifts */
19191940                         p->n_right = buildtree(UNASG p->n_op, ccopy(l),
 19201941                             p->n_right);
<> 1942+#else
  1943+                        p->n_right = block(UNASG p->n_op, ccopy(l),
  1944+                            p->n_right, p->n_type, p->n_df, p->n_sue);
  1945+#endif
<_19211946                         p->n_op = ASSIGN;
 19221947                         delasgop(p->n_right);
 19231948                 }
FishEye: Open Source License registered to PCC.
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-12-18 13:31 +0100