aboutsummaryrefslogtreecommitdiff
path: root/bfd/cpu-cris.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-05-13 02:51:41 -0400
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-06-01 21:22:31 -0400
commit814f1489e9d1d92a30d94d69a0066addcc564bd2 (patch)
treeb2238aaf40bb24cb152d9b5b0f4b3d7a77c05828 /bfd/cpu-cris.c
parentd05584d3eeab4cb1c1d85d8dfdfef56827e03b3d (diff)
downloadgdb-814f1489e9d1d92a30d94d69a0066addcc564bd2.zip
gdb-814f1489e9d1d92a30d94d69a0066addcc564bd2.tar.gz
gdb-814f1489e9d1d92a30d94d69a0066addcc564bd2.tar.bz2
avr: replace sentinal with iteration from 0 to ARRAY_SIZE
This seems a little easier to understand than using a sentinal, and will hopefully let the compiler optimize the loop better. It also has the effect that we stop initializing a field of the sentinal that is an enum with zero. gas/ChangeLog: 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to sentinal with iteration to array size.
Diffstat (limited to 'bfd/cpu-cris.c')
0 files changed, 0 insertions, 0 deletions