This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Commit 673242e
committed
Fix issue #11447.
This issue was caused by the code for PInvoke frame initialization reading
from the stub argument register after it had been trashed by prior
instructions. This change fixes this issue by inserting the PInvoke
frame initialization at the beginning of the scratch block into which it
is inserted rather than at the end.
Note that a more correct fix here would be to represent the stub
argument as a lclVar rather than a physical register; that work is
tracked by #11450.1 parent 4a9af73 commit 673242e
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2872 | 2872 | | |
2873 | 2873 | | |
2874 | 2874 | | |
| 2875 | + | |
| 2876 | + | |
2875 | 2877 | | |
2876 | | - | |
| 2878 | + | |
2877 | 2879 | | |
2878 | 2880 | | |
2879 | 2881 | | |
| |||
2887 | 2889 | | |
2888 | 2890 | | |
2889 | 2891 | | |
2890 | | - | |
| 2892 | + | |
2891 | 2893 | | |
2892 | 2894 | | |
2893 | 2895 | | |
| |||
2903 | 2905 | | |
2904 | 2906 | | |
2905 | 2907 | | |
2906 | | - | |
| 2908 | + | |
2907 | 2909 | | |
2908 | 2910 | | |
2909 | 2911 | | |
| |||
2918 | 2920 | | |
2919 | 2921 | | |
2920 | 2922 | | |
2921 | | - | |
| 2923 | + | |
2922 | 2924 | | |
2923 | 2925 | | |
2924 | 2926 | | |
| |||
0 commit comments