Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.198
 
1.199
 
MAIN:ragge:20080620131903
 
trees.c
_>545545         }
 546546 
 547547 /*
<> 548+ * Build a name node based on a symtab entry.
  549+ * broken out from buildtree().
  550+ */
  551+NODE *
  552+nametree(struct symtab *sp)
  553+{
  554+        NODE *p;
  555+
  556+        p = block(NAME, NIL, NIL, sp->stype, sp->sdf, sp->ssue);
  557+        p->n_qual = sp->squal;
  558+        p->n_sp = sp;
  559+
  560+#ifndef NO_C_BUILTINS
  561+        if (sp->sname[0] == '_' && strncmp(sp->sname, "__builtin_", 10) == 0)
  562+                return p/* do not touch builtins here */
  563+        
  564+#endif
  565+
  566+        if (sp->sflags & STNODE) {
  567+                /* Generated for optimizer */
  568+                p->n_op = TEMP;
  569+                p->n_rval = sp->soffset;
  570+        }
  571+
  572+#ifdef GCC_COMPAT
  573+        /* Get a label name */
  574+        if (sp->sflags == SLBLNAME) {
  575+                p->n_type = VOID;
  576+                p->n_sue = MKSUE(VOID);
  577+        }
  578+#endif
  579+        if (sp->stype == UNDEF) {
  580+                uerror("%s undefined", sp->sname);
  581+                /* make p look reasonable */
  582+                p->n_type = INT;
  583+                p->n_sue = MKSUE(INT);
  584+                p->n_df = NULL;
  585+                defid(p, SNULL);
  586+        }
  587+        if (sp->sclass == MOE) {
  588+                p->n_op = ICON;
  589+                p->n_lval = sp->soffset;
  590+                p->n_df = NULL;
  591+                p->n_sp = NULL;
  592+        }
  593+        return clocal(p);
  594+}
  595+
  596+/*
<_548597  * Do a conditional branch.
 549598  */
 550599 void
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-19 23:54 +0200