Skip to content

Commit da3c2e6

Browse files
authored
Merge pull request MicrosoftDocs#191 from Microsoft/cr-abi-fix
Clarify non-volatile register usage
2 parents c19889c + ae5a404 commit da3c2e6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/build/function-types.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ There are basically two types of functions. A function that requires a stack fra
3737

3838
If a frame function does not call another function then it is not required to align the stack (referenced in Section [Stack Allocation](../build/stack-allocation.md)).
3939

40-
A leaf function is one that does not require a function table entry. It cannot call any functions, allocate space, or save any nonvolatile registers. It is allowed to leave the stack unaligned while it executes.
40+
A leaf function is one that does not require a function table entry. It can't make changes to any nonvolatile registers, including RSP, which means that it can't call any functions or allocate stack space. It is allowed to leave the stack unaligned while it executes.
4141

4242
## See Also
43-
[Stack Usage](../build/stack-usage.md)
43+
[Stack Usage](../build/stack-usage.md)

0 commit comments

Comments
 (0)