summary refs log tree commit diff
path: root/src/librustc/ty/instance.rs
AgeCommit message (Collapse)AuthorLines
2017-04-22cache attributes of items from foreign cratesAriel Ben-Yehuda-4/+1
this avoids parsing item attributes on each call to `item_attrs`, which takes off 33% (!) of translation time and 50% (!) of trans-item collection time.
2017-03-18translate drop glue using MIRAriel Ben-Yehuda-1/+8
Drop of arrays is now translated in trans::block in an ugly way that I should clean up in a later PR, and does not handle panics in the middle of an array drop, but this commit & PR are growing too big.
2017-03-18translate closure shims using MIRAriel Ben-Yehuda-11/+5
2017-03-18resolve instances to ty::Instance directlyAriel Ben-Yehuda-6/+28
This removes the duplication between collector, callee, and (eventually) MIRI.
2017-03-18move Instance to rustc and use it in the collectorAriel Ben-Yehuda-0/+105