var.c 1.1 KB

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