alloc.h 1.3 KB

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