diff options
| author | bors <bors@rust-lang.org> | 2020-01-15 00:56:53 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-01-15 00:56:53 +0000 |
| commit | 4b172cc73f5f1fb1e3d60527fb29605fa267985c (patch) | |
| tree | dac63d985ba13b8150543d9aac64164393e189fd /src/test/debuginfo/enum-thinlto.rs | |
| parent | 8a87b945b27b5670ac5ed665bbb0fccc1b88a0a0 (diff) | |
| parent | 583a4fc827d1f4f491286218549a6048c0a9c9bf (diff) | |
| download | rust-4b172cc73f5f1fb1e3d60527fb29605fa267985c.tar.gz rust-4b172cc73f5f1fb1e3d60527fb29605fa267985c.zip | |
Auto merge of #68118 - skinny121:eager_lit_eval, r=varkor
perf: Eagerly convert literals to consts Previousely even literal constants were being converted to an `Unevaluted` constant for evaluation later. This seems unecessary as no more information is needed to be able to convert the literal to a mir constant. Hopefully this will also minimise the performance impact of #67717, as far less constant evaluations are needed.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
