3ff9925ce0
2000-02-25 Anthony Green <green@cygnus.com> * expr.c (build_class_init): Mark the decl to be ignored by check_init. * java-tree.h (DECL_BIT_INDEX): Move definition from check-init.c * check-init.c: Move DECL_BIT_INDEX to java-tree.h * class.c (init_test_hash_newfunc): New function. (decl_hash): New function. (decl_compare): New function. * decl.c (emit_init_test_initialization): New function. (complete_start_java_method): Traverse the init test hashtable, calling emit_init_test_initialization. (always_initialize_class_p): Define. * expr.c (build_class_init): Use initialization tests when emitting class initialization code. (always_initialize_class_p): Declare. * jcf-parse.c (parse_class_file): Set always_initialize_class_p to 1. * java-tree.h: Include hash.h. (DECL_FUNCTION_INIT_TEST_TABLE): Define. (struct lang_decl): Add init_test_table field. (init_test_hash_entry): Define. From-SVN: r32166 |
||
---|---|---|
.. | ||
buffer.c | ||
buffer.h | ||
ChangeLog | ||
check-init.c | ||
class.c | ||
config-lang.in | ||
constants.c | ||
convert.h | ||
decl.c | ||
except.c | ||
expr.c | ||
gjavah.c | ||
java-except.h | ||
java-opcodes.h | ||
java-tree.def | ||
java-tree.h | ||
javaop.def | ||
javaop.h | ||
jcf-depend.c | ||
jcf-dump.c | ||
jcf-io.c | ||
jcf-parse.c | ||
jcf-path.c | ||
jcf-reader.c | ||
jcf-write.c | ||
jcf.h | ||
jv-scan.c | ||
jvgenmain.c | ||
jvspec.c | ||
keyword.gperf | ||
keyword.h | ||
lang-options.h | ||
lang-specs.h | ||
lang.c | ||
lex.c | ||
lex.h | ||
Make-lang.in | ||
Makefile.in | ||
mangle.c | ||
parse-scan.c | ||
parse-scan.y | ||
parse.c | ||
parse.h | ||
parse.y | ||
typeck.c | ||
verify.c | ||
xref.c | ||
xref.h | ||
zextract.c | ||
zipfile.h |