DEADSOFTWARE
GIT
/
REPO
/
FRED-BOY
Projects
/
dsw-obn.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
JVM: Добавлено больше операторов
[dsw-obn.git]
/
src
/
backends
/
jvm
/
generator-jvm.h
1
#define MAX_REGISTERS 256
2
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
};
13
14
struct
gen_proc_t
15
{
16
struct
gen_register_file
*
rf
;
17
};
18
19
struct
gen_type_t
20
{
21
int
rec_id
;
22
FILE
*
fp
;
23
};
24
25
struct
gen_var_t
26
{
27
int
reg
;
28
};
29
30
struct
gen_block_t
31
{
32
33
};
34
35
struct
gen_context_t
36
{
37
gen_module_t
*
m
;
38
struct
gen_register_file
*
rf
;
39
int
label_id
;
40
};
41
42
struct
gen_module_t
43
{
44
int
rec_id
;
45
FILE
*
fp
;
46
};