Skip to content

Commit 4d8e052

Browse files
johnno1962xwu
andauthored
Update docs/ABIStabilityManifesto.md
Co-Authored-By: Xiaodi Wu <[email protected]>
1 parent 84bf2f5 commit 4d8e052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/ABIStabilityManifesto.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ Having the call context register be callee-saved is advantageous. It keeps the r
337337

338338
Throwing functions communicate error values to their callers through the *error* register on some platforms. The error register holds a pointer to the error value if an error occurred, otherwise 0. The caller of a throwing function is expected to quickly check for 0 before continuing on with non-error code, otherwise branching to code to handle or propagate the error. Using a callee-saved register for the error register enables free conversion from non-throwing to throwing functions, which is required to honor the subtyping relationship.
339339

340-
The specific registers used in these roles is documented in [this document](ABI/RegisterUsage.md).
340+
The specific registers used in these roles are documented in [another document on register usage](https://github.com/apple/swift/blob/master/docs/ABI/RegisterUsage.md).
341341

342342
### <a name="function-signature-lowering"></a>Function Signature Lowering
343343

0 commit comments

Comments
 (0)