about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-04-23 20:11:50 +0000
committerbors <bors@rust-lang.org>2017-04-23 20:11:50 +0000
commit2bd4b5c6db1468235f730bce403bf657123ecc57 (patch)
treed906f9a263abe6302ee7f0a90e1f9b9b280fa0ca /src/rustllvm/RustWrapper.cpp
parent23de823e93dc19ef1b9cb65b48860a892cd6ff18 (diff)
parentd3476f4b7694b8453cf52268880057a9df938089 (diff)
downloadrust-2bd4b5c6db1468235f730bce403bf657123ecc57.tar.gz
rust-2bd4b5c6db1468235f730bce403bf657123ecc57.zip
Auto merge of #41485 - arielb1:dtorck-constraint, r=eddyb
cache dtorck constraints on ADTs

This avoids visiting the fields of all structs multiple times, improving item-bodies checking time by 10% (!).

Not sure whether we want this in 1.18 or 1.19. It's a big-ish patch, but the 10% win is very tempting.

r? @eddyb
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions