+Wed Oct 21 07:54:11 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
+
+ * class.c (emit_register_classes): Renamed from
+ emit_register_class.
+ * java-tree.h (emit_register_classes): Prototype renamed from
+ emit_register_class.
+ * jcf-parse.c (yyparse): Call emit_register_classes once before
+ returning.
+ * parse.y (java_expand_classes): No longer register classes.
+
Tue Oct 20 09:15:38 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
* class.c (is_compiled_class): New local variable
which calls registerClass for all the compiled classes. */
void
-emit_register_class ()
+emit_register_classes ()
{
tree decl = getdecls ();
extern void make_class_data PROTO ((tree));
extern void register_class PROTO (());
extern int alloc_name_constant PROTO ((int, tree));
-extern void emit_register_class PROTO (());
+extern void emit_register_classes PROTO (());
extern void lang_init_source PROTO ((int));
/* Access flags etc for a method (a FUNCTION_DECL): */
{
case JCF_ZIP:
parse_zip_file_entries ();
- emit_register_class ();
break;
case JCF_CLASS:
jcf_parse (current_jcf);
parse_class_file ();
- emit_register_class ();
break;
case JCF_SOURCE:
parse_source_file (0); /* Parse and generate */
}
}
java_expand_classes ();
+ if (! flag_emit_class_files)
+ emit_register_classes ();
return 0;
}
java_check_final (); /* Check unitialized final */
java_parse_abort_on_error ();
}
- if (! flag_emit_class_files)
- emit_register_class ();
}
/* Wrap non WFL PRIMARY around a WFL and set EXPR_WFL_QUALIFICATION to
java_check_final (); /* Check unitialized final */
java_parse_abort_on_error ();
}
- if (! flag_emit_class_files)
- emit_register_class ();
}
/* Wrap non WFL PRIMARY around a WFL and set EXPR_WFL_QUALIFICATION to