stupid.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* Communication with stupid.c.
  2. Copyright (C) 1987 Free Software Foundation, Inc.
  3. This file is part of GNU CC.
  4. GNU CC is distributed in the hope that it will be useful,
  5. but WITHOUT ANY WARRANTY. No author or distributor
  6. accepts responsibility to anyone for the consequences of using it
  7. or for whether it serves any particular purpose or works at all,
  8. unless he says so in writing. Refer to the GNU CC General Public
  9. License for full details.
  10. Everyone is granted permission to copy, modify and redistribute
  11. GNU CC, but only under the conditions described in the
  12. GNU CC General Public License. A copy of this license is
  13. supposed to have been given to you along with GNU CC so you
  14. can know your rights and responsibilities. It should be in a
  15. file named COPYING. Among other things, the copyright notice
  16. and this notice must be preserved on all copies. */
  17. /* Nonzero means use stupid register allocation
  18. and force into memory all user variables not declared `register'. */
  19. extern int obey_regdecls;
  20. /* For the case of stupid register allocation,
  21. user register variables should have a life span
  22. equal to the extent of the block in which they are declared.
  23. stmt.c uses these variables to pass the information to stupid.c.
  24. `reg_birth_insn[N]' is the last insn before the beginning of
  25. the scope of pseudo-register N. `reg_death_insn[N]' is the
  26. last insn in the scope.
  27. Both of these vectors are of length `first_temp_register',
  28. which is one plus the number of the last pseudo-register
  29. that corresponds to a user variable. */
  30. extern int first_temp_reg_num;
  31. extern rtx *reg_birth_insn;
  32. extern rtx *reg_death_insn;