diff options
author | David Daney <ddaney@avtrex.com> | 2008-08-21 16:08:26 +0000 |
---|---|---|
committer | David Daney <daney@gcc.gnu.org> | 2008-08-21 16:08:26 +0000 |
commit | c7c6340790771cf22e77dc2be248ecd03aa722fe (patch) | |
tree | 1e3429f9ebbe93d4998775fea1de5ddafab21813 /gcc/java/class.c | |
parent | d9b14b120c5db07615380ab94a75d60064a3fd61 (diff) | |
download | gcc-c7c6340790771cf22e77dc2be248ecd03aa722fe.zip gcc-c7c6340790771cf22e77dc2be248ecd03aa722fe.tar.gz gcc-c7c6340790771cf22e77dc2be248ecd03aa722fe.tar.bz2 |
class.c (make_class_data): Don't add field_index when flag_reduced_reflection set.
2008-08-21 David Daney <ddaney@avtrex.com>
* class.c (make_class_data): Don't add field_index when
flag_reduced_reflection set.
From-SVN: r139397
Diffstat (limited to 'gcc/java/class.c')
-rw-r--r-- | gcc/java/class.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c index 2d8a1c2..647da9a 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); } } |