]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aarch64: Tweak frame_size comment
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 12 Sep 2023 15:19:47 +0000 (16:19 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Tue, 12 Sep 2023 15:19:47 +0000 (16:19 +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 9291cfd3ec8b5f207ef6ea5252b72e96a080c00e..82883ad5a0d80b2a5bbb4f2012c6fd470c4913da 100644 (file)
@@ -861,8 +861,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;