added a flag for functions which indicates they are "inline",
authorMark Linton <linton@ucbvax.Berkeley.EDU>
Wed, 10 Aug 1983 19:56:36 +0000 (11:56 -0800)
committerMark Linton <linton@ucbvax.Berkeley.EDU>
Wed, 10 Aug 1983 19:56:36 +0000 (11:56 -0800)
meaning they have no activation record associated with them -- currently
this is only used for C unnamed blocks with declarations inside them

SCCS-vsn: old/dbx/symbols.c 1.10

usr/src/old/dbx/symbols.c

index 7d5a9d2..e51e89e 100644 (file)
@@ -1,6 +1,6 @@
 /* Copyright (c) 1982 Regents of the University of California */
 
 /* Copyright (c) 1982 Regents of the University of California */
 
-static char sccsid[] = "@(#)symbols.c 1.9 %G%";
+static char sccsid[] = "@(#)symbols.c 1.10 %G%";
 
 /*
  * Symbol management.
 
 /*
  * Symbol management.
@@ -67,7 +67,8 @@ struct Symbol {
        } rangev;
        struct {
            int offset : 16;    /* offset for of function value */
        } rangev;
        struct {
            int offset : 16;    /* offset for of function value */
-           Boolean src : 16;   /* true if there is source line info */
+           Boolean src : 8;    /* true if there is source line info */
+           Boolean inline : 8; /* true if no separate act. rec. */
            Address beginaddr;  /* address of function code */
        } funcv;
        struct {                /* variant record info */
            Address beginaddr;  /* address of function code */
        } funcv;
        struct {                /* variant record info */
@@ -101,6 +102,7 @@ Symbol curfunc;
 )
 
 #define nosource(f) (not (f)->symvalue.funcv.src)
 )
 
 #define nosource(f) (not (f)->symvalue.funcv.src)
+#define isinline(f) ((f)->symvalue.funcv.inline)
 
 #include "tree.h"
 
 
 #include "tree.h"