Commit 415e98e
committed
Fix TailCallStress mode.
Improve validation of tail calls that are not tail-prefixed in the IL
but are marked as such because of TailCallStress. We now do the same
correctness validation in morph for such tail calls as we do for
implicit tail calls. That blocks tail calls when we have address-taken
locals, struct promoted params, and pinned vars.
Fixes #39398.
Fixes #39309.
Fixes #38892.
Fixes #38889.
Fixes #38887.
Fixes #37117.
Fixes #8017.1 parent 4a436e3 commit 415e98e
12 files changed
Lines changed: 38 additions & 46 deletions
File tree
- eng/pipelines/libraries
- src
- coreclr
- src/jit
- tests
- libraries
- System.Collections.Concurrent/tests
- System.Drawing.Common/tests
- System.Net.HttpListener/tests
- System.Security.Cryptography.X509Certificates/tests/RevocationTests
- tests
- JIT/opt/OSR
- profiler/unittest
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
| 146 | + | |
150 | 147 | | |
151 | 148 | | |
152 | 149 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4201 | 4201 | | |
4202 | 4202 | | |
4203 | 4203 | | |
| 4204 | + | |
4204 | 4205 | | |
4205 | 4206 | | |
4206 | 4207 | | |
| |||
4315 | 4316 | | |
4316 | 4317 | | |
4317 | 4318 | | |
| 4319 | + | |
| 4320 | + | |
| 4321 | + | |
| 4322 | + | |
| 4323 | + | |
| 4324 | + | |
| 4325 | + | |
4318 | 4326 | | |
4319 | 4327 | | |
4320 | 4328 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7526 | 7526 | | |
7527 | 7527 | | |
7528 | 7528 | | |
7529 | | - | |
7530 | | - | |
7531 | | - | |
7532 | | - | |
7533 | | - | |
| 7529 | + | |
| 7530 | + | |
| 7531 | + | |
| 7532 | + | |
| 7533 | + | |
| 7534 | + | |
| 7535 | + | |
7534 | 7536 | | |
7535 | 7537 | | |
7536 | 7538 | | |
| |||
8674 | 8676 | | |
8675 | 8677 | | |
8676 | 8678 | | |
| 8679 | + | |
8677 | 8680 | | |
8678 | 8681 | | |
8679 | 8682 | | |
| |||
8740 | 8743 | | |
8741 | 8744 | | |
8742 | 8745 | | |
| 8746 | + | |
| 8747 | + | |
| 8748 | + | |
| 8749 | + | |
| 8750 | + | |
| 8751 | + | |
8743 | 8752 | | |
8744 | 8753 | | |
8745 | 8754 | | |
| |||
14209 | 14218 | | |
14210 | 14219 | | |
14211 | 14220 | | |
| 14221 | + | |
14212 | 14222 | | |
14213 | 14223 | | |
14214 | 14224 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7235 | 7235 | | |
7236 | 7236 | | |
7237 | 7237 | | |
7238 | | - | |
| 7238 | + | |
7239 | 7239 | | |
7240 | 7240 | | |
7241 | 7241 | | |
| |||
8793 | 8793 | | |
8794 | 8794 | | |
8795 | 8795 | | |
8796 | | - | |
| 8796 | + | |
8797 | 8797 | | |
8798 | 8798 | | |
8799 | 8799 | | |
| |||
8810 | 8810 | | |
8811 | 8811 | | |
8812 | 8812 | | |
8813 | | - | |
8814 | | - | |
8815 | | - | |
8816 | | - | |
8817 | | - | |
8818 | | - | |
8819 | | - | |
8820 | | - | |
8821 | | - | |
8822 | | - | |
8823 | | - | |
8824 | | - | |
8825 | | - | |
8826 | | - | |
8827 | | - | |
8828 | | - | |
8829 | | - | |
| 8813 | + | |
| 8814 | + | |
| 8815 | + | |
| 8816 | + | |
| 8817 | + | |
| 8818 | + | |
| 8819 | + | |
| 8820 | + | |
8830 | 8821 | | |
8831 | 8822 | | |
8832 | 8823 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | 70 | | |
74 | 71 | | |
75 | 72 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | 101 | | |
103 | 102 | | |
104 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
784 | 784 | | |
785 | 785 | | |
786 | 786 | | |
787 | | - | |
788 | 787 | | |
789 | 788 | | |
790 | 789 | | |
| |||
818 | 817 | | |
819 | 818 | | |
820 | 819 | | |
821 | | - | |
822 | 820 | | |
823 | 821 | | |
824 | 822 | | |
| |||
Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| |||
0 commit comments