Commit 4aa8253
Disable poisoning for large structs
For very large structs (> 64K in size) poisoning could end up generating
instructions requiring larger local var offsets than we can handle. This
hits IMPL_LIMIT that throws InvalidProgramException. Turn off poisoning
for larger structs that require more than 16 movs to also avoid the
significant code bloat by the singular movs.
This is a less risky version of #61521 for backporting to .NET 6.
Fix #608521 parent 09e3dcb commit 4aa8253
1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12551 | 12551 | | |
12552 | 12552 | | |
12553 | 12553 | | |
| 12554 | + | |
| 12555 | + | |
| 12556 | + | |
| 12557 | + | |
| 12558 | + | |
| 12559 | + | |
| 12560 | + | |
| 12561 | + | |
| 12562 | + | |
| 12563 | + | |
| 12564 | + | |
12554 | 12565 | | |
12555 | 12566 | | |
12556 | 12567 | | |
| |||
12568 | 12579 | | |
12569 | 12580 | | |
12570 | 12581 | | |
12571 | | - | |
12572 | 12582 | | |
12573 | 12583 | | |
12574 | 12584 | | |
| |||
0 commit comments