Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.218
 
1.219
 
MAIN:gmcgarry:20080320002815
 
reader.c
_>889889 deltemp(NODE *p)
 890890 {
 891891         struct tmpsave *w;
<>892 -        NODE *l;
  892+        NODE *l, *r;
893893 
 894894         if (p->n_op == TEMP) {
 895895                 /* Check if already existing */
     
 !
904904                         w->next = tmpsave;
 905905                         tmpsave = w;
 906906                 }
<>907 -                p->n_op = OREG;
 908 -                p->n_rval = FPREG;
 909 -                p->n_lval = w->tempaddr;
  907+                l = mklnode(REG, 0, FPREG, INCREF(p->n_type));
  908+                r = mklnode(ICON, w->tempaddr, 0, INT);
  909+                p->n_left = mkbinode(PLUS, l, r, INCREF(p->n_type));
  910+                p->n_op = UMUL;
<_910911         } else if (p->n_op == ADDROF && p->n_left->n_op != NAME) {
 911912                 /* TEMPs are already converted to OREGs */
 912913                 if ((l = p->n_left)->n_op != OREG)
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-21 00:00 +0100