diff options
author | Andrew Pinski <pinskia@physics.uc.edu> | 2004-11-26 18:04:45 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2004-11-26 10:04:45 -0800 |
commit | 532815a787849962ca2f2101aef12ec1d57b2cfd (patch) | |
tree | fd510bfba4be46b5f8449a5f32932ed69e327402 /gcc/java/java-tree.h | |
parent | e57df6fed97f4e7dd58dd00a1946c698b5a22d92 (diff) | |
download | gcc-532815a787849962ca2f2101aef12ec1d57b2cfd.zip gcc-532815a787849962ca2f2101aef12ec1d57b2cfd.tar.gz gcc-532815a787849962ca2f2101aef12ec1d57b2cfd.tar.bz2 |
re PR java/18305 (Class initialization optimization is not done when compiled from .class)
2004-11-26 Andrew Pinski <pinskia@physics.uc.edu>
PR java/18305
* decl.c (end_java_method): Call
attach_init_test_initialization_flags on all the init_decls.
* parse.y (attach_init_test_initialization_flags): Move to ...
* expr.c (attach_init_test_initialization_flags): here and
support BIND_EXPR also.
* java-tree.h (attach_init_test_initialization_flags): Prototype.
* jcf-parse.c (parse_class_file): Don't disable class init
optimization.
From-SVN: r91343
Diffstat (limited to 'gcc/java/java-tree.h')
-rw-r--r-- | gcc/java/java-tree.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h index e8144ee..54cf01b 100644 --- a/gcc/java/java-tree.h +++ b/gcc/java/java-tree.h @@ -1255,6 +1255,7 @@ extern void initialize_builtins (void); extern tree lookup_name (tree); extern tree build_known_method_ref (tree, tree, tree, tree, tree); extern tree build_class_init (tree, tree); +extern int attach_init_test_initialization_flags (void **, void *); extern tree build_invokevirtual (tree, tree); extern tree build_invokeinterface (tree, tree); extern tree build_jni_stub (tree); |