aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2006-04-18 15:03:18 +0000
committerAndrew Haley <aph@redhat.com>2006-04-18 15:03:18 +0000
commitb59465b29ca1ac0c1d8ced5861388cfe52ba12d6 (patch)
treec3d4d614b552f574fb41262e4e402caaa250c3ac /gcc
parent78ae69e1457c47bac13a95deb4a20d7d426c3c76 (diff)
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. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcj/gcj-abi-experimental-branch@113043 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/java/ChangeLog6
-rw-r--r--gcc/java/class.c4
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index e78fbebc589..877e67ebbd6 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2006-03-16 Andrew Haley <aph@redhat.com>
* jvgenmain.c (main): Revert previous change.
diff --git a/gcc/java/class.c b/gcc/java/class.c
index 177bdcaf79f..55551cd000b 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)
@@ -1873,6 +1872,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",
@@ -1888,6 +1888,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",
@@ -1903,6 +1904,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",