eval.h 664 B

1234567891011121314151617181920
  1. /*
  2. * The Amsterdam Compiler Kit
  3. * See the copyright notice in the ACK home directory, in the file "Copyright".
  4. */
  5. #ifndef LANG_CEM_CEMCOM_ANSI_EVAL_H
  6. #define LANG_CEM_CEMCOM_ANSI_EVAL_H
  7. /* lang/cem/cemcom.ansi/eval.c */
  8. void EVAL(struct expr *expr, int val, int code, label true_label, label false_label);
  9. void compare(int relop, label lbl);
  10. void truthvalue(int relop);
  11. void assop(struct type *type, int oper);
  12. void ptr_add(arith size);
  13. void store_val(struct value *vl, struct type *tp);
  14. void load_val(struct expr *expr, int rlval);
  15. void load_cst(arith val, arith siz);
  16. void operands(struct expr *expr, int gencode);
  17. #endif /* LANG_CEM_CEMCOM_ANSI_EVAL_H */