aboutsummaryrefslogtreecommitdiff
path: root/libbacktrace
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2024-03-02 13:37:00 +0100
committerGeorg-Johann Lay <avr@gjlay.de>2024-03-02 13:47:45 +0100
commit9ca5e579d3e1acdbf0519f7a43928ecc9bb0193f (patch)
tree7afe8aece89382ebf86ffb8d7bd39b94b9560457 /libbacktrace
parentc8d12343a9417055f3fc89bbdbb6e0ea508bcca2 (diff)
downloadgcc-9ca5e579d3e1acdbf0519f7a43928ecc9bb0193f.zip
gcc-9ca5e579d3e1acdbf0519f7a43928ecc9bb0193f.tar.gz
gcc-9ca5e579d3e1acdbf0519f7a43928ecc9bb0193f.tar.bz2
AVR: Use REG_<n> constants instead of magic numbers <n>.
There are some places where avr.cc uses magic numbers like 17 that are actually register numbers. This patch defines constants like REG_17 and uses them instead of the magic numbers when a register number is meant. gcc/ * config/avr/avr.md (REG_0, ... REG_36): New define_constants. * config/avr/avr.cc: Use them instead of magic numbers when it means a register number.
Diffstat (limited to 'libbacktrace')
0 files changed, 0 insertions, 0 deletions