aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2003-10-09 16:21:56 +0000
committerTom Tromey <tromey@gcc.gnu.org>2003-10-09 16:21:56 +0000
commitae125b177e74ff5566bf16a80b4530d0c485c8c3 (patch)
treefbb330e65043efd091cc84ee8088bd4b0aa94b40 /gcc/java
parenta9807ca26813c6bcb4259d28e2023dc3103ea6ca (diff)
downloadgcc-ae125b177e74ff5566bf16a80b4530d0c485c8c3.zip
gcc-ae125b177e74ff5566bf16a80b4530d0c485c8c3.tar.gz
gcc-ae125b177e74ff5566bf16a80b4530d0c485c8c3.tar.bz2
decl.c (java_init_decl_processing): Declare signers field.
* decl.c (java_init_decl_processing): Declare signers field. * class.c (make_class_data): Set signers field. From-SVN: r72270
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog5
-rw-r--r--gcc/java/class.c1
-rw-r--r--gcc/java/decl.c1
3 files changed, 7 insertions, 0 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index d2b6d26..3c0af4e 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-09 Tom Tromey <tromey@redhat.com>
+
+ * decl.c (java_init_decl_processing): Declare signers field.
+ * class.c (make_class_data): Set signers field.
+
2003-10-09 Jason Merrill <jason@redhat.com>
* parse.y (patch_assignment): Use make_node to create a BLOCK.
diff --git a/gcc/java/class.c b/gcc/java/class.c
index d64db51..49e1a3d 100644
--- a/gcc/java/class.c
+++ b/gcc/java/class.c
@@ -1552,6 +1552,7 @@ make_class_data (tree type)
PUSH_FIELD_VALUE (cons, "idt", null_pointer_node);
PUSH_FIELD_VALUE (cons, "arrayclass", null_pointer_node);
PUSH_FIELD_VALUE (cons, "protectionDomain", null_pointer_node);
+ PUSH_FIELD_VALUE (cons, "signers", null_pointer_node);
PUSH_FIELD_VALUE (cons, "chain", null_pointer_node);
FINISH_RECORD_CONSTRUCTOR (cons);
diff --git a/gcc/java/decl.c b/gcc/java/decl.c
index 8355431..fa8c939 100644
--- a/gcc/java/decl.c
+++ b/gcc/java/decl.c
@@ -713,6 +713,7 @@ java_init_decl_processing (void)
PUSH_FIELD (class_type_node, field, "idt", ptr_type_node);
PUSH_FIELD (class_type_node, field, "arrayclass", ptr_type_node);
PUSH_FIELD (class_type_node, field, "protectionDomain", ptr_type_node);
+ PUSH_FIELD (class_type_node, field, "signers", ptr_type_node);
PUSH_FIELD (class_type_node, field, "chain", ptr_type_node);
for (t = TYPE_FIELDS (class_type_node); t != NULL_TREE; t = TREE_CHAIN (t))
FIELD_PRIVATE (t) = 1;