diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-11-10 02:24:41 +0700 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-11-10 14:27:41 +0700 |
commit | 40466c48e843221e010209e4baa4197debf7a092 (patch) | |
tree | 2d9e5c3af866f56743161f88f9b2f6290bbea9a2 /libiberty/strrchr.c | |
parent | 1eff12f75acd62066399437042b7c016463ad932 (diff) | |
download | gdb-40466c48e843221e010209e4baa4197debf7a092.zip gdb-40466c48e843221e010209e4baa4197debf7a092.tar.gz gdb-40466c48e843221e010209e4baa4197debf7a092.tar.bz2 |
sim: ppc: collapse is_readonly & length switch tables heavily
Since we know we'll return 0 by default, we don't have to output case
statements for readonly or length fields whose values are also zero.
This is the most common case by far and thus generates a much smaller
switch table in the end.
Diffstat (limited to 'libiberty/strrchr.c')
0 files changed, 0 insertions, 0 deletions