diff options
author | Per Bothner <per@bothner.com> | 2001-03-05 23:29:31 -0800 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 2001-03-05 23:29:31 -0800 |
commit | 6d37cf2f0c96a148f9d7ae640ebaab945cea0979 (patch) | |
tree | 70814460fc637778012dfbf042802ae3f210f4c7 /gcc/java/decl.c | |
parent | 21aaf8bffcf05aec09db0213f8210cc205175141 (diff) | |
download | gcc-6d37cf2f0c96a148f9d7ae640ebaab945cea0979.zip gcc-6d37cf2f0c96a148f9d7ae640ebaab945cea0979.tar.gz gcc-6d37cf2f0c96a148f9d7ae640ebaab945cea0979.tar.bz2 |
Fix a problem where rest_of_decl_compilation applied to class_dtable_decl causes problems because it was done too early...
Fix a problem where rest_of_decl_compilation applied to
class_dtable_decl causes problems because it was done too early,
before output file was opened.
* decl.c (init_decl_processing): Remove init of class_dtable_decl.
* class.c (class_dtable_decl): Add macro - element of class_roots.
(make_class_data): Define class_dtable_decl.
* java-tree.h (JTI_CLASS_DTABLE_DECL, class_dtable_decl): Removed.
From-SVN: r40256
Diffstat (limited to 'gcc/java/decl.c')
-rw-r--r-- | gcc/java/decl.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/java/decl.c b/gcc/java/decl.c index 739ddee..32e6976 100644 --- a/gcc/java/decl.c +++ b/gcc/java/decl.c @@ -636,12 +636,6 @@ init_decl_processing () FIELD_PRIVATE (t) = 1; FINISH_RECORD (object_type_node); - class_dtable_decl = build_dtable_decl (class_type_node); - TREE_STATIC (class_dtable_decl) = 1; - DECL_ARTIFICIAL (class_dtable_decl) = 1; - DECL_IGNORED_P (class_dtable_decl) = 1; - rest_of_decl_compilation (class_dtable_decl, (char*) 0, 1, 0); - field_type_node = make_node (RECORD_TYPE); field_ptr_type_node = build_pointer_type (field_type_node); method_type_node = make_node (RECORD_TYPE); |