proinf.h 840 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. struct num {
  7. num_p n_next;
  8. unsigned n_number;
  9. unsigned n_jumps;
  10. num_p n_repl;
  11. short n_flags;
  12. short n_size; /* size of element on top at this label */
  13. line_p n_line;
  14. };
  15. /* contents of .n_flags */
  16. #define NUMDATA 000001
  17. #define NUMREACH 000002
  18. #define NUMKNOWN 000004
  19. #define NUMMARK 000010
  20. #define NUMSCAN 000020
  21. #define NUMSET 000040
  22. #define NUMCOND 000100
  23. #define NUMFALLTHROUGH 000200
  24. #define NNUMHASH 37
  25. extern num_p numlookup();
  26. struct regs {
  27. reg_p r_next;
  28. offset r_par[4];
  29. };
  30. typedef struct proinf {
  31. offset localbytes;
  32. line_p lastline;
  33. sym_p symbol;
  34. reg_p freg;
  35. bool gtoproc;
  36. num_p numhash[NNUMHASH];
  37. } proinf;
  38. extern proinf curpro;