]> git.ipfire.org Git - thirdparty/gcc.git/commit
aarch64: Only calculate chain_offset if there is a chain
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 12 Sep 2023 15:08:51 +0000 (16:08 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Tue, 12 Sep 2023 15:08:51 +0000 (16:08 +0100)
commit2b983f9064d808daf909bde1d4a13980934a7e6e
tree921b4d7667da816831f240334a668bbef4608305
parent187861af7c51db9eddc6f954b589c121b210fc74
aarch64: Only calculate chain_offset if there is a chain

After previous patches, it is no longer necessary to calculate
a chain_offset in cases where there is no chain record.

gcc/
* config/aarch64/aarch64.cc (aarch64_expand_prologue): Move the
calculation of chain_offset into the emit_frame_chain block.
gcc/config/aarch64/aarch64.cc