Commit 1b84464
committed
JIT: Fix new helper calls for some block copies involving promoted locals
The change in dotnet#85620 was missing a check for the case where the
destination is not on stack but the source is. The backend still uses a
helper call for this case.
The field-by-field case would also usually involve helper calls since it
would normally need write barriers; however, the exception were for
byref fields, so Span<T>/ReadOnlySpan<T> were particularly affected.1 parent ff65075 commit 1b84464
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
830 | 830 | | |
831 | 831 | | |
832 | 832 | | |
| 833 | + | |
| 834 | + | |
833 | 835 | | |
834 | 836 | | |
835 | | - | |
836 | | - | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
837 | 840 | | |
838 | 841 | | |
839 | 842 | | |
| |||
0 commit comments