Commit 3732b7a
committed
[ConstProp] Avoid OOM crashes by not evaluating large Places
Fixes rust-lang#663971 parent d389f64 commit 3732b7a
File tree
2 files changed
+10
-0
lines changed- src
- librustc_mir/transform
- test/ui/consts
2 files changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
461 | 466 | | |
462 | 467 | | |
463 | 468 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments