Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.245
 
1.246
 
MAIN:ragge:20081122160735
 
reader.c
_>9393 static void gencode(NODE *p, int cookie);
 9494 static void genxasm(NODE *p);
 9595 
<>96 -/* used when removing nodes */
 97 -struct tmpsave {
 98 -        struct tmpsave *next;
 99 -        CONSZ tempaddr;
 100 -        int tempno;
 101 -} *tmpsave;
 102 -
10396 struct p2env p2env;
 10497 
<> 98+int
  99+getlab2(void)
  100+{
  101+        extern int getlab(void);
  102+        int rv = getlab();
105103 #ifdef PCC_DEBUG
<> 104+        if (p2env.epp->ip_lblnum != rv)
  105+                comperr("getlab2 error: %d != %d", p2env.epp->ip_lblnum, rv);
  106+#endif
  107+        p2env.epp->ip_lblnum++;
  108+        return rv;
  109+}
  110+
  111+#ifdef PCC_DEBUG
106112 static int *lbldef, *lbluse;
 107113 static void
 108114 cktree(NODE *p, void *arg)
     
 !
315321 
 316322         if (ip->type == IP_PROLOG) {
 317323                 memset(p2e, 0, sizeof(struct p2env));
<>318 -                tmpsave = NULL;
319324                 p2e->ipp = (struct interpass_prolog *)ip;
 320325                 DLIST_INIT(&p2e->ipole, qelem);
 321326         }
     
 !
358363                                 walkf(ip->ip_node, findaof, addrp);
 359364                 }
 360365         }
<>361 -        DLIST_FOREACH(ip, &p2e->ipole, qelem) {
  366+        DLIST_FOREACH(ip, &p2e->ipole, qelem)
362367                 if (ip->type == IP_NODE)
 363368                         walkf(ip->ip_node, deltemp, addrp);
<>364 -        }
365369         markfree(&mark);
 366370 
 367371 #ifdef PCC_DEBUG
     
 !
459463                 break;
 460464         case IP_EPILOG:
 461465                 eoftn((struct interpass_prolog *)ip);
<>462 -                tmpsave = NULL/* Always forget old nodes */
<_463466                 p2maxautooff = p2autooff = AUTOINIT/SZCHAR;
 464467                 break;
 465468         case IP_DEFLAB:
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 14:38 +0100