var.c 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. #ifndef NORCSID
  6. static char rcsid[]= "$Id$";
  7. #endif
  8. #include "param.h"
  9. #include "reg.h"
  10. #include "property.h"
  11. #include "token.h"
  12. #include "set.h"
  13. #include "instruct.h"
  14. #include "lookup.h"
  15. #include <cgg_cg.h>
  16. int wordsize;
  17. int pointersize;
  18. int nregs=1;
  19. int nprops;
  20. int ntokens=1;
  21. int nsets;
  22. int ninstr;
  23. int codeindex;
  24. int empatlen,emrepllen,emmnem[EMPATMAX];
  25. int maxempatlen, maxemrepllen;
  26. int empatexpr;
  27. int tokpatlen,tokrepllen,tokpatset[TOKPATMAX],tokpatro[TOKPATMAX];
  28. int maxtokpatlen, maxtokrepllen;
  29. int nallreg,allreg[MAXALLREG];
  30. int cursetno = -1;
  31. int allsetno;
  32. int inproc=0; /* scanning "procedure" */
  33. int callproc=0;
  34. int fc1=1,fc2=1,fc3=1,fc4=1;
  35. int maxmembers=0;
  36. int regclass=1;
  37. int maxtokensize=0;
  38. int rvused=0;
  39. int nregvar[4];
  40. int rvsize[4];
  41. int rvnumbers[4][MAXREGVAR];
  42. int procarg[MAXPROCARG];
  43. int maxprocargs, nprocargs;
  44. reginfo l_regs[MAXREGS];
  45. propinfo l_props[MAXPROPS];
  46. token_p l_tokens[MAXTOKENS];
  47. set_t l_sets[MAXSETS];
  48. instr_t l_instr[MAXINSTR];
  49. symbol *symhash[NSYMHASH];