diff options
author | Per Bothner <per@bothner.com> | 2001-12-06 15:12:55 -0800 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 2001-12-06 15:12:55 -0800 |
commit | 5412ef6bba5b252ccb88f778025e6c21cc075883 (patch) | |
tree | 0329e48c15d6e4c56f175ddff6166ec1395400e4 /gcc/java/expr.c | |
parent | c1bf99a2ab955f1b5945ceb0f62a4e1652fe0c02 (diff) | |
download | gcc-5412ef6bba5b252ccb88f778025e6c21cc075883.zip gcc-5412ef6bba5b252ccb88f778025e6c21cc075883.tar.gz gcc-5412ef6bba5b252ccb88f778025e6c21cc075883.tar.bz2 |
Restore support for static class initialization optimization.
From-SVN: r47735
Diffstat (limited to 'gcc/java/expr.c')
-rw-r--r-- | gcc/java/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c index 78ca165..f865d95 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -1729,7 +1729,7 @@ build_class_init (clas, expr) MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC (ite->init_test_decl); LOCAL_CLASS_INITIALIZATION_FLAG (ite->init_test_decl) = 1; DECL_CONTEXT (ite->init_test_decl) = current_function_decl; - + DECL_FUNCTION_INIT_TEST_CLASS (ite->init_test_decl) = clas; /* Tell the check-init code to ignore this decl when not optimizing class initialization. */ if (!STATIC_CLASS_INIT_OPT_P ()) |