Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.13
 
1.14
 
MAIN:ragge:20080729132558
 
code.c
_>153153 putintemp(struct symtab *sym)
 154154 {
 155155         NODE *p;
<>156 -        spname = sym;
157156         p = tempnode(0, sym->stype, sym->sdf, sym->ssue);
<>158 -        p = buildtree(ASSIGN, p, buildtree(NAME, 0, 0));
  157+        p = buildtree(ASSIGN, p, nametree(sym));
159158         sym->soffset = regno(p->n_left);
 160159         sym->sflags |= STNODE;
 161160         ecomp(p);
     
 !
240239                 sym->soffset = regno(p);
 241240                 sym->sflags |= STNODE;
 242241         } else {
<>243 -                spname = sym;
 244 -                p = buildtree(NAME, 0, 0);
  242+                p = nametree(sym);
245243         }
 246244         p = buildtree(ASSIGN, p, q);
 247245         ecomp(p);
     
 !
262260                 sym->soffset = regno(p);
 263261                 sym->sflags |= STNODE;
 264262         } else {
<>265 -                spname = sym;
 266 -                p = buildtree(NAME, 0, 0);
  263+                p = nametree(sym);
267264         }
 268265         p = buildtree(ASSIGN, p, q);
 269266         ecomp(p);
     
 !
310307                 sym->sflags |= STNODE;
 311308         } else {
 312309                 q = tempnode(tmpnr, sym->stype, sym->sdf, sym->ssue);
<>313 -                spname = sym;
 314 -                p = buildtree(NAME, 0, 0);
  310+                p = buildtree(sym);
315311                 p = buildtree(ASSIGN, p, q);
 316312                 ecomp(p);
 317313         }
     
 !
341337                 sym->sflags |= STNODE;
 342338         } else {
 343339                 q = tempnode(tmpnr, sym->stype, sym->sdf, sym->ssue);
<>344 -                spname = sym;
 345 -                p = buildtree(NAME, 0, 0);
  340+                p = nametree(sym);
<_346341                 p = buildtree(ASSIGN, p, q);
 347342                 ecomp(p);
 348343         }
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-08-28 15:08 +0200