diff options
author | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-05-13 02:51:41 -0400 |
---|---|---|
committer | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-06-01 21:22:31 -0400 |
commit | 814f1489e9d1d92a30d94d69a0066addcc564bd2 (patch) | |
tree | b2238aaf40bb24cb152d9b5b0f4b3d7a77c05828 /gas/listing.h | |
parent | d05584d3eeab4cb1c1d85d8dfdfef56827e03b3d (diff) | |
download | gdb-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 'gas/listing.h')
0 files changed, 0 insertions, 0 deletions