f8bc4ab11cdcc423365c460ecc46f80786bd773c
[Ack-5.5.git] / util / opt / alloc.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: alloc.h,v 2.7 1994/06/24 10:39:40 ceriel Exp $ */
6
7 extern line_p   newline();
8 extern offset   *newrom();
9 extern sym_p    newsym();
10 extern num_p    newnum();
11 extern arg_p    newarg();
12 extern argb_p   newargb();
13 extern reg_p    newreg();
14
15 extern          oldline();
16 extern          oldloc();
17 extern          oldreg();
18
19 #undef USEMALLOC        /* if defined malloc() and free() are used */
20
21 #undef COREDEBUG        /* keep records and print statistics */
22
23 /*
24  * The next define gives if defined the number of pseudo's outside
25  * procedures that are collected without processing.
26  * If undefined all pseudo's will be collected but that may
27  * give trouble on small machines, because of lack of room.
28  */
29 #define PSEUBETWEEN 200 
30
31 #ifndef USEMALLOC
32 /*
33  * Now the real bitsqueezing starts.
34  * When running on a machine where code and data live in
35  * separate address-spaces it is worth putting in some extra
36  * code to save on probably less data.
37  */
38 #define SEPID           /* code and data in separate spaces */
39 /*
40  * If the stack segment and the data are separate as on a PDP11 under UNIX
41  * it is worth squeezing some shorts out of the stack page.
42  */
43 #define STACKROOM 3200  /* number of shorts space in stack */
44
45 #else
46
47 #define STACKROOM 1     /* 0 gives problems */
48
49 #endif  /* USEMALLOC */