aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/class.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@cygnus.com>1998-10-28 09:15:36 +0000
committerTom Tromey <tromey@gcc.gnu.org>1998-10-28 09:15:36 +0000
commit571d54d56fcc32a556fc34f2310625da649ee0be (patch)
tree68ff38afb73ddc00cd66de46170b5df2ad15a3bf /gcc/java/class.c
parent8f142c0b9084783a44e90261622a206dc6e7d0c2 (diff)
downloadgcc-571d54d56fcc32a556fc34f2310625da649ee0be.zip
gcc-571d54d56fcc32a556fc34f2310625da649ee0be.tar.gz
gcc-571d54d56fcc32a556fc34f2310625da649ee0be.tar.bz2
decl.c (init_decl_processing): Renamed fields.
* decl.c (init_decl_processing): Renamed fields. * class.c (make_class_data): Renamed bfsize, nfields, nsfields, interface_len, msize fields. * class.c (make_class_data): Removed subclass_head and subclass_next fields. * decl.c (init_decl_processing): Removed subclass_head and subclass_next fields. From-SVN: r23395
Diffstat (limited to 'gcc/java/class.c')
-rw-r--r--gcc/java/class.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c
index eaeae41..5b7b699 100644
--- a/gcc/java/class.c
+++ b/gcc/java/class.c
@@ -1086,26 +1086,25 @@ make_class_data (type)
build_int_2 (get_access_flags_from_decl (type_decl), 0));
PUSH_FIELD_VALUE (cons, "superclass", super);
- PUSH_FIELD_VALUE (cons, "subclass_head", null_pointer_node);
- PUSH_FIELD_VALUE (cons, "subclass_next", null_pointer_node);
PUSH_FIELD_VALUE (cons, "constants", constant_pool_constructor);
PUSH_FIELD_VALUE (cons, "methods",
build1 (ADDR_EXPR, method_ptr_type_node, methods_decl));
PUSH_FIELD_VALUE (cons, "nmethods", build_int_2 (method_count, 0));
- PUSH_FIELD_VALUE (cons, "msize", TYPE_NVIRTUALS (type));
+ PUSH_FIELD_VALUE (cons, "method_count", TYPE_NVIRTUALS (type));
PUSH_FIELD_VALUE (cons, "fields",
fields_decl == NULL_TREE ? null_pointer_node
: build1 (ADDR_EXPR, field_ptr_type_node, fields_decl));
- PUSH_FIELD_VALUE (cons, "bfsize", size_in_bytes (type));
- PUSH_FIELD_VALUE (cons, "nfields", build_int_2 (field_count, 0));
- PUSH_FIELD_VALUE (cons, "nsfields", build_int_2 (static_field_count, 0));
+ PUSH_FIELD_VALUE (cons, "size_in_bytes", size_in_bytes (type));
+ PUSH_FIELD_VALUE (cons, "field_count", build_int_2 (field_count, 0));
+ PUSH_FIELD_VALUE (cons, "static_field_count",
+ build_int_2 (static_field_count, 0));
/* For now, we let Kaffe fill in the dtable. */
PUSH_FIELD_VALUE (cons, "dtable",
dtable_decl == NULL_TREE ? null_pointer_node
: build1 (ADDR_EXPR, dtable_ptr_type, dtable_decl));
PUSH_FIELD_VALUE (cons, "interfaces", interfaces);
PUSH_FIELD_VALUE (cons, "loader", null_pointer_node);
- PUSH_FIELD_VALUE (cons, "interface_len", build_int_2 (interface_len, 0));
+ PUSH_FIELD_VALUE (cons, "interface_count", build_int_2 (interface_len, 0));
PUSH_FIELD_VALUE (cons, "state",
flag_assume_compiled ? integer_four_node
: integer_two_node);