Could there be some comments on/in this? Their precise purpose isn't immediately obvious. (is this the code that's reading the cross-crate metadata etc. and inlining things?)