Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.128
 
1.129
 
MAIN:ragge:20050205143907
 
trees.c
_>290290 
 291291                 case NAME:
 292292                         sp = spname;
<> 293+                        if (sp->sflags & STNODE) {
  294+                                /* Generated for optimizer */
  295+                                p->n_op = TEMP;
  296+                                p->n_type = sp->stype;
  297+                                p->n_sue = sp->ssue;
  298+                                p->n_df = sp->sdf;
  299+                                p->n_lval = sp->soffset;
  300+                                break;
  301+                        }
  302+                                
293303 #ifdef GCC_COMPAT
 294304                         /* Get a label name */
 295305                         if (sp->sflags == SLBLNAME) {
     
 !
839849         case OREG:
 840850         case UMUL:
 841851                 if( ISARY(p->n_type) || ISFTN(p->n_type) ) return(1);
<> 852+        case TEMP:
842853         case REG:
 843854                 return(0);
 844855 
     
 !
15031514         }
 15041515 }
 15051516 
<> 1517+int tvaloff;
  1518+
15061519 /*
 15071520  * Returns a TEMP node with temp number nr.
 15081521  * If nr == 0, return a node with a new number.
<> 1522+ * XXX - nr should not be a pointer.
15091523  */
 15101524 NODE *
 15111525 tempnode(int *nr, TWORD type, union dimfun *df, struct suedef *sue)
 15121526 {
 15131527         NODE *p, *r;
 15141528 
<> 1529+        r = block(TEMP, NIL, NIL, type, df, sue);
  1530+        r->n_lval = *nr == 0 ? ++tvaloff : *nr;
  1531+        return r;
  1532+
  1533+#if 0
15151534         if (*nr == 0) {
 15161535                 struct symtab s;
 15171536 
     
 !
15261545                         maxautooff = autooff;
 15271546                 *nr = s.soffset;
 15281547         }
<> 1548+#endif
<_15291549 #if 0
 15301550         if (*nr == 0) {
 15311551                 al = talign(type, sue);
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-07-10 17:21 +0200