aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/class.c
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2006-02-20 16:16:34 +0000
committerAndrew Haley <aph@gcc.gnu.org>2006-02-20 16:16:34 +0000
commit517f4918eab4c20abdfca058cfe0e239325c23f7 (patch)
tree7f68d2632e2e6ce03303036ed849319e17c803e0 /gcc/java/class.c
parent9a0ceb314437f690f13590e2a6ad5be9828674dc (diff)
downloadgcc-517f4918eab4c20abdfca058cfe0e239325c23f7.zip
gcc-517f4918eab4c20abdfca058cfe0e239325c23f7.tar.gz
gcc-517f4918eab4c20abdfca058cfe0e239325c23f7.tar.bz2
class.c (GEN_TABLE): Don't pushdecl *_SYMS_DECL here.
2006-02-15 Andrew Haley <aph@redhat.com> * class.c (GEN_TABLE): Don't pushdecl *_SYMS_DECL here. (make_class_data): pushdecl_top_level TYPE_OTABLE_SYMS_DECL, TYPE_ATABLE_SYMS_DECL, TYPE_ITABLE_SYMS_DECL here. From-SVN: r111306
Diffstat (limited to 'gcc/java/class.c')
-rw-r--r--gcc/java/class.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c
index e3eed98..743b9eb 100644
--- a/gcc/java/class.c
+++ b/gcc/java/class.c
@@ -375,7 +375,6 @@ do \
TREE_STATIC (TYPE_## TABLE ##_SYMS_DECL (TYPE)) = 1; \
TREE_CONSTANT (TYPE_## TABLE ##_SYMS_DECL (TYPE)) = 1; \
DECL_IGNORED_P (TYPE_## TABLE ##_SYMS_DECL (TYPE)) = 1; \
- pushdecl (TYPE_## TABLE ##_SYMS_DECL (TYPE)); \
} \
while (0)
@@ -1821,6 +1820,7 @@ make_class_data (tree type)
}
else
{
+ pushdecl_top_level (TYPE_OTABLE_SYMS_DECL (type));
PUSH_FIELD_VALUE (cons, "otable",
build1 (ADDR_EXPR, otable_ptr_type, TYPE_OTABLE_DECL (type)));
PUSH_FIELD_VALUE (cons, "otable_syms",
@@ -1836,6 +1836,7 @@ make_class_data (tree type)
}
else
{
+ pushdecl_top_level (TYPE_ATABLE_SYMS_DECL (type));
PUSH_FIELD_VALUE (cons, "atable",
build1 (ADDR_EXPR, atable_ptr_type, TYPE_ATABLE_DECL (type)));
PUSH_FIELD_VALUE (cons, "atable_syms",
@@ -1851,6 +1852,7 @@ make_class_data (tree type)
}
else
{
+ pushdecl_top_level (TYPE_ITABLE_SYMS_DECL (type));
PUSH_FIELD_VALUE (cons, "itable",
build1 (ADDR_EXPR, itable_ptr_type, TYPE_ITABLE_DECL (type)));
PUSH_FIELD_VALUE (cons, "itable_syms",