about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-01-15 00:56:53 +0000
committerbors <bors@rust-lang.org>2020-01-15 00:56:53 +0000
commit4b172cc73f5f1fb1e3d60527fb29605fa267985c (patch)
treedac63d985ba13b8150543d9aac64164393e189fd /src/test/debuginfo/enum-thinlto.rs
parent8a87b945b27b5670ac5ed665bbb0fccc1b88a0a0 (diff)
parent583a4fc827d1f4f491286218549a6048c0a9c9bf (diff)
downloadrust-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