aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2023-09-12 16:05:05 +0100
committerRichard Sandiford <richard.sandiford@arm.com>2023-09-12 16:05:05 +0100
commit7b792ecaa9414bc81520b3da552d40ad854be976 (patch)
tree83f4a25d4be45ec654a194589e6412bc7a4d6a24 /gcc/go
parentc601c918c9ac01ef8315774a642ff924f77c85e5 (diff)
downloadgcc-7b792ecaa9414bc81520b3da552d40ad854be976.zip
gcc-7b792ecaa9414bc81520b3da552d40ad854be976.tar.gz
gcc-7b792ecaa9414bc81520b3da552d40ad854be976.tar.bz2
aarch64: Add bytes_below_saved_regs to frame info
The frame layout code currently hard-codes the assumption that the number of bytes below the saved registers is equal to the size of the outgoing arguments. This patch abstracts that value into a new field of aarch64_frame. gcc/ * config/aarch64/aarch64.h (aarch64_frame::bytes_below_saved_regs): New field. * config/aarch64/aarch64.cc (aarch64_layout_frame): Initialize it, and use it instead of crtl->outgoing_args_size. (aarch64_get_separate_components): Use bytes_below_saved_regs instead of outgoing_args_size. (aarch64_process_components): Likewise.
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions