]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aarch64: Tweak frame_size comment
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 12 Sep 2023 15:08:52 +0000 (16:08 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Tue, 12 Sep 2023 15:08:52 +0000 (16:08 +0100)
This patch fixes another case in which a value was described with
an “upside-down” view.

gcc/
* config/aarch64/aarch64.h (aarch64_frame::frame_size): Tweak comment.

gcc/config/aarch64/aarch64.h

index dd1f403f9393c4bdea60dcfefe201f2a112311b9..700524ae22bf77471e3267615c173ab8ad98f4bc 100644 (file)
@@ -895,8 +895,8 @@ struct GTY (()) aarch64_frame
      STACK_BOUNDARY.  */
   poly_int64 bytes_above_hard_fp;
 
-  /* The size of the frame.  This value is the offset from base of the
-     frame (incomming SP) to the stack_pointer.  This value is always
+  /* The size of the frame, i.e. the number of bytes between the bottom
+     of the outgoing arguments and the incoming SP.  This value is always
      a multiple of STACK_BOUNDARY.  */
   poly_int64 frame_size;