1 #if !defined _CODEGEN_H_ 2 #define _CODEGEN_H_ 3 4 #include <stdio.h> 5 6 #include "express.h" 7 #include "name.h" 8 9 void init_codegen(FILE *fp); 10 void gen_verb(char s[]); 11 void gen_make_frame(int size); 12 void gen_exp(exp_node *p); 13 void gen_label(int n); 14 void gen_goto(int n); 15 void gen_jz(int n); 16 void gen_set(name_info *store_to); 17 18 #endif /* _CODEGEN_H_ */