Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.160
 
1.161
 
MAIN:ragge:20120809162230
 
local.c
_>851851         defloc(sp);
 852852         ninval(0, tsize(sp->stype, sp->sdf, sp->sap), p);
 853853 
<>854 -        if (kflag) {
 855 -#if defined(ELFABI)
 856 -                sp->sname = sp->soname = inlalloc(32);
 857 -                snprintf(sp->sname, 32, LABFMT "@GOTOFF", (int)sp->soffset);
 858 -#elif defined(MACHOABI)
 859 -                char *s = cftnsp->soname ? cftnsp->soname : cftnsp->sname;
 860 -                size_t len = strlen(s) + 40;
 861 -                sp->sname = sp->soname = IALLOC(len);
 862 -                snprintf(sp->soname, len, LABFMT "-L%s$pb", (int)sp->soffset, s);
 863 -#endif
 864 -                sp->sclass = EXTERN;
 865 -                sp->sflags = sp->slevel = 0;
 866 -        }
 867 -
868854         p->n_op = NAME;
 869855         p->n_lval = 0;
 870856         p->n_sp = sp;
<> 857+
  858+        if (kflag) {
  859+                NODE *q = optim(picstatic(tcopy(p)));
  860+                *p = *q;
  861+                nfree(q);
  862+        }
<_871863 }
 872864 
 873865 /*ARGSUSED*/
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-10-31 15:19 +0100