* jv-lang.c (get_java_utf8_name): Re-write so it works with

implied (missing) data field, as defined by cc1java.
	(java_link_class_type):  Type length and field offset (in interior)
	now includes object header.  Get static fields working.
	* jv-lang.h (JAVA_OBJECT_SIZE):  Update for change in Kaffe.
	* jv-typeprint.c (java_type_print_derivation_info,
	java_type_print_base):  New functions, for better Java output.
	* jv-valprint.c:  Start to support Java-specific output.
This commit is contained in:
Per Bothner
1997-08-05 21:59:56 +00:00
parent f7f37388dc
commit d2e131a198
5 changed files with 282 additions and 17 deletions

View File

@ -23,7 +23,7 @@ java_parse PARAMS ((void)); /* Defined in jv-exp.y */
extern void
java_error PARAMS ((char *)); /* Defined in jv-exp.y */
#define JAVA_OBJECT_SIZE (6 * 4) /* sizeof (struct Object) FIXME ! */
#define JAVA_OBJECT_SIZE (1 * 4) /* sizeof (struct Object) FIXME ! */
extern struct type *java_int_type;
extern struct type *java_byte_type;