diff options
author | daney <daney@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-21 16:08:26 +0000 |
---|---|---|
committer | daney <daney@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-21 16:08:26 +0000 |
commit | 8ef22a65ce978312f311c8065b838fa2a2bcbfad (patch) | |
tree | 1e3429f9ebbe93d4998775fea1de5ddafab21813 /gcc/java | |
parent | e4eae705eb21dae936e83cf8c6037785f0058a55 (diff) | |
download | gcc-8ef22a65ce978312f311c8065b838fa2a2bcbfad.tar.gz |
2008-08-21 David Daney <ddaney@avtrex.com>
* class.c (make_class_data): Don't add field_index when
flag_reduced_reflection set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139397 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/java/class.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index f1ee4d6febc..6178327d369 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +2008-08-21 David Daney <ddaney@avtrex.com> + + * class.c (make_class_data): Don't add field_index when + flag_reduced_reflection set. + 2008-08-12 Ulrich Weigand <uweigand@de.ibm.com> * typeck.c (convert): Do not check for TARGET_FLOAT_FORMAT. diff --git a/gcc/java/class.c b/gcc/java/class.c index 2d8a1c21999..647da9ad23e 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -1821,6 +1821,8 @@ make_class_data (tree type) field_index = static_count++; else if (uses_jv_markobj || !flag_reduced_reflection) field_index = instance_count++; + else + continue; VEC_quick_push (int, field_indexes, field_index); } } |