diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-06 23:12:55 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-06 23:12:55 +0000 |
commit | 160eb70915948f58acfd10d163ad701c0fcd804d (patch) | |
tree | 0329e48c15d6e4c56f175ddff6166ec1395400e4 /gcc/java/expr.c | |
parent | acbff904292c312f6e5b80ff9e07e35ea9d1b830 (diff) | |
download | gcc-160eb70915948f58acfd10d163ad701c0fcd804d.tar.gz |
Restore support for static class initialization optimization.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47735 138bc75d-0d04-0410-961f-82ee72b054a4
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 78ca16562fd..f865d958008 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 ()) |