Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.213
 
1.214
 
MAIN:ragge:20081115140239
 
trees.c
_>7777 static int moditype(TWORD);
 7878 static NODE *strargs(NODE *);
 7979 static void rmcops(NODE *p);
<> 80+static void putjops(NODE *);
8081 int inftn; /* currently between epilog/prolog */
 8182 
 8283 /*      some special actions, used in finding the type of nodes */
     
 !
151152                 CONSZ c = l->n_lval;
 152153                 nfree(l);
 153154                 if (c) {
<> 155+                        walkf(r->n_right, putjops);
154156                         tfree(r->n_right);
 155157                         l = r->n_left;
<>156 -                        nfree(r);
 157 -                        return(l);
158158                 } else {
<> 159+                        walkf(r->n_left, putjops);
159160                         tfree(r->n_left);
 160161                         l = r->n_right;
<>161 -                        nfree(r);
 162 -                        return(l);
163162                 }
<> 163+                nfree(r);
  164+                return(l);
164165         } else if( opty == BITYPE && l->n_op == ICON && r->n_op == ICON ){
 165166 
 166167                 switch( o ){
     
 !
509510         }
 510511 
 511512 /*
<> 513+ * Check if there will be a lost label destination inside of a ?:
  514+ * It cannot be reached so just print it out.
  515+ */
  516+static void
  517+putjops(NODE *p)
  518+{
  519+        if (p->n_op == COMOP && p->n_left->n_op == GOTO)
  520+                plabel(p->n_left->n_left->n_lval+1);
  521+}
  522+
  523+/*
512524  * Build a name node based on a symtab entry.
 513525  * broken out from buildtree().
 514526  */
     
 !
22012213                 p->n_stsize = (tsize(STRTY, p->n_left->n_df,
 22022214                     p->n_left->n_sue)+SZCHAR-1)/SZCHAR;
 22032215                 p->n_stalign = talign(STRTY,p->n_left->n_sue)/SZCHAR;
<>2204 -                /* FALLTHROUGH */
 2205 -        case CALL:
 2206 -        case UCALL:
 2207 -                if (callop(p->n_op) && p->n_left->n_op == ICON &&
 2208 -                    (q = p->n_left->n_sp) != NULL && q->sclass == SNULL &&
 2209 -                    (q->sflags & SINLINE)) {
 2210 -                        /* call to inline ftns uses L-style labels */
 2211 -                        p->n_left->n_name = sptostr(q);
 2212 -                        if (ty == BITYPE)
 2213 -                                p2tree(p->n_right);
 2214 -                        return;
 2215 -                }
<_22162216                 break;
 22172217 
 22182218         case XARG:
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-02 11:14 +0200