index d5abe38fe3fa39a99a0ce38bdd363ea7d3f91bae..242aa70b10f8f2b17b21926b06de0e9192b7021c 100644 (file)
struct gen_class
{
+ char * full_name;
FILE * fp;
gen_proc_t * p;
+ struct gen_class * base;
};
-
+enum gen_storage
+{
+ JVM_STORAGE_UNKNOWN,
+ JVM_STORAGE_REGISTER,
+ JVM_STORAGE_STATIC,
+ JVM_STORAGE_FIELD,
+ JVM_STORAGE_LOCAL,
+ JVM_STORAGE_VARPTR
+};
struct gen_proc_t
{
int rec_id;
struct gen_class * class;
+
+ bool wide;
+ char prefix;
+ char postfix;
+ char * desc;
+ int cell_size;
};
struct gen_var_t
{
+ enum gen_storage storage;
+ gen_type_t * type;
int reg;
-};
-
-struct gen_block_t
-{
-
+ char * full_name;
};
struct gen_context_t
struct gen_class * class;
int rec_id;
};
+
+struct gen_label_t
+{
+ int id;
+};