* gdbtypes.h (struct cplus_struct_type): Delete member

nfn_fields_total.  All uses removed.
This commit is contained in:
Doug Evans 2012-01-08 21:02:45 +00:00
parent de64cffdf8
commit 4d72c0bc3e
6 changed files with 5 additions and 20 deletions

View file

@ -501,7 +501,6 @@ java_link_class_type (struct gdbarch *gdbarch,
temp = clas;
nmethods = value_as_long (value_struct_elt (&temp, NULL, "method_count",
NULL, "structure"));
TYPE_NFN_FIELDS_TOTAL (type) = nmethods;
j = nmethods * sizeof (struct fn_field);
fn_fields = (struct fn_field *)
obstack_alloc (&objfile->objfile_obstack, j);