Commit 82ae1d1
committed
[SIL.rst] Cleanup docs on explicit_copy_value.
There really isn't a point in repeating the verbage from copy_value. So I
removed that and just referred back to the copy_value documentation and focused
instead on what makes explicit_copy_value different semantically from
copy_value, how it is used to work around the invariant in Canonical SIL that
move only typed values can not be copied. This is useful for:
1. Implementing an explicit copy for no implicit copy types.
2. When the move checker errors since it can't produce a move only solution for
a value, we change all of the copies into explicit_copy_value. We need some sort
of copy to ensure later once we are in Canonical SIL, Ownership SSA is correct
/and/ we maintain the no copy of move only typed values in Canonical SIL.1 parent 4a81bca commit 82ae1d1
1 file changed
+9
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5594 | 5594 | | |
5595 | 5595 | | |
5596 | 5596 | | |
5597 | | - | |
5598 | | - | |
5599 | | - | |
5600 | | - | |
5601 | | - | |
5602 | | - | |
5603 | | - | |
5604 | | - | |
5605 | | - | |
5606 | | - | |
5607 | | - | |
5608 | | - | |
5609 | | - | |
5610 | | - | |
5611 | | - | |
5612 | | - | |
5613 | | - | |
5614 | | - | |
| 5597 | + | |
| 5598 | + | |
5615 | 5599 | | |
5616 | 5600 | | |
5617 | 5601 | | |
| 5602 | + | |
| 5603 | + | |
| 5604 | + | |
| 5605 | + | |
| 5606 | + | |
| 5607 | + | |
| 5608 | + | |
5618 | 5609 | | |
5619 | 5610 | | |
5620 | 5611 | | |
| |||
0 commit comments