Skip to content

Commit 9ce26a9

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 10b4b18 commit 9ce26a9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/inline-assembly.md

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

13521352
r[asm.rules.stack-above-sp]
1353-
- Unless the `nostack` option is set, assembly code is allowed to modify the caller's stack frame in specific cases.
1354-
- The target ABI requires storing certain values in the caller's frame (e.g., saving the `lr` on PowerPC64).
1353+
- 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).
13551354

13561355
r[asm.rules.noreturn]
13571356
- 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)