Pristine Ack-5.5
[Ack-5.5.git] / util / opt / proinf.h
1 /*
2  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3  * See the copyright notice in the ACK home directory, in the file "Copyright".
4  */
5 /* $Id: proinf.h,v 2.5 1994/06/24 10:40:45 ceriel Exp $ */
6
7 struct num {
8         num_p   n_next;
9         unsigned n_number;
10         unsigned n_jumps;
11         num_p   n_repl;
12         short   n_flags;
13         short   n_size;         /* size of element on top at this label */
14         line_p  n_line;
15 };
16
17 /* contents of .n_flags */
18 #define NUMDATA         000001
19 #define NUMREACH        000002
20 #define NUMKNOWN        000004
21 #define NUMMARK         000010
22 #define NUMSCAN         000020
23 #define NUMSET          000040
24 #define NUMCOND         000100
25 #define NUMFALLTHROUGH  000200
26
27 #define NNUMHASH        37
28 extern num_p    numlookup();
29
30 struct regs {
31         reg_p   r_next;
32         offset  r_par[4];
33 };
34
35 typedef struct proinf {
36         offset  localbytes;
37         line_p  lastline;
38         sym_p   symbol;
39         reg_p   freg;
40         bool    gtoproc;
41         num_p   numhash[NNUMHASH];
42 } proinf;
43
44 extern proinf curpro;