Skip to content

Commit c46d1f8

Browse files
committed
Clarify verbiage in asm.rules.stack-above-sp
The "in specific cases" text seemed a bit unclear to me. Let's collapse this item with the subitem to remove this text.
1 parent cbd15b6 commit c46d1f8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/inline-assembly.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1353,8 +1353,7 @@ r[asm.rules.stack-below-sp]
13531353
- The stack pointer must be restored to its original value before leaving the assembly code.
13541354

13551355
r[asm.rules.stack-above-sp]
1356-
- Unless the `nostack` option is set, assembly code is allowed to modify the caller's stack frame in specific cases.
1357-
- The target ABI requires storing certain values in the caller's frame (e.g., saving the `lr` on PowerPC64).
1356+
- Unless the `nostack` option is set, assembly code is allowed to modify the caller's stack frame when the target ABI requires storing certain values in the caller's frame (e.g., when saving the `lr` on PowerPC64).
13581357

13591358
r[asm.rules.noreturn]
13601359
- If the `noreturn` option is set then behavior is undefined if execution falls through the end of the assembly code.

0 commit comments

Comments
 (0)