label.h 492 B

1234567891011121314151617181920212223
  1. /*
  2. * This file contains the structures that hold information about the labels.
  3. * The height and the fallthrough functions of the table.
  4. *
  5. * Author: Hans van Eck.
  6. */
  7. #ifndef MACH_PROTO_NCG_LABEL_H
  8. #define MACH_PROTO_NCG_LABEL_H
  9. typedef struct label *label_p;
  10. struct label {
  11. label_p lb_next;
  12. word lb_number;
  13. int lb_height;
  14. short lb_fallthrough;
  15. };
  16. void add_label(int num, int height, int flth);
  17. label_p get_label(word num);
  18. void kill_labels();
  19. #endif /* MACH_PROTO_NCG_LABEL_H */