Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.126
 
1.127
 
MAIN:ragge:20050120212414
 
trees.c
_>22062206 send_passt(int type, ...)
 22072207 {
 22082208         struct interpass *ip;
<> 2209+        struct interpass_prolog *ipp;
22092210         va_list ap;
<> 2211+        int sz;
22102212 
 22112213         va_start(ap, type);
<>2212 -        ip = isinlining ? permalloc(sizeof(*ip)) : tmpalloc(sizeof(*ip));
  2214+        if (type == IP_PROLOG || type == IP_EPILOG)
  2215+                sz = sizeof(struct interpass_prolog);
  2216+        else
  2217+                sz = sizeof(struct interpass);
  2218+
  2219+        ip = isinlining ? permalloc(sz) : tmpalloc(sz);
22132220         ip->type = type;
 22142221         ip->lineno = lineno;
 22152222         switch (type) {
     
 !
22222229                 setloc1(PROG);
 22232230                 /* FALLTHROUGH */
 22242231         case IP_PROLOG:
<>2225 -                ip->ip_regs = va_arg(ap, int);
 2226 -                ip->ip_auto = va_arg(ap, int);
 2227 -                ip->ip_retl = va_arg(ap, int);
 2228 -                ip->ip_pname = cftnsp->sname; /* XXX */
  2232+                ipp = (struct interpass_prolog *)ip;
  2233+                ipp->ipp_regs = va_arg(ap, int);
  2234+                ipp->ipp_autos = va_arg(ap, int);
  2235+                ipp->ipp_name = va_arg(ap, char *);
  2236+                ipp->ipp_type = va_arg(ap, TWORD);
  2237+                ip->ip_lbl = va_arg(ap, int);
<_22292238                 break;
 22302239         case IP_LOCCTR:
 22312240                 ip->ip_locc = va_arg(ap, int);
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-09-03 04:12 +0200