DEADSOFTWARE

JVM: Добавлено больше операторов
[dsw-obn.git] / src / backends / jvm / generator-jvm.h
1 #define MAX_REGISTERS 256
3 struct gen_register_file {
4 struct
5 {
6 bool used;
7 bool wide;
8 } reg[MAX_REGISTERS];
9 int num_used;
10 int max_used;
11 struct gen_register_file * up;
12 };
14 struct gen_proc_t
15 {
16 struct gen_register_file * rf;
17 };
19 struct gen_type_t
20 {
21 int rec_id;
22 FILE * fp;
23 };
25 struct gen_var_t
26 {
27 int reg;
28 };
30 struct gen_block_t
31 {
33 };
35 struct gen_context_t
36 {
37 gen_module_t * m;
38 struct gen_register_file * rf;
39 int label_id;
40 };
42 struct gen_module_t
43 {
44 int rec_id;
45 FILE * fp;
46 };