about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-12-20 11:16:38 -0800
committerAlex Crichton <alex@alexcrichton.com>2016-12-20 12:59:05 -0800
commit21f33dbf7166beb1ce94c349228035b618de8dbe (patch)
treebceb0baa467af4c3913c5e3f3469a4910dd8af44 /src/test/incremental/thinlto
parent210411105edca09d60f1eddd34f2961e685ae3b3 (diff)
parent3a82b0da3d501f5b7f532e26b4738ac0e53fab13 (diff)
downloadrust-21f33dbf7166beb1ce94c349228035b618de8dbe.tar.gz
rust-21f33dbf7166beb1ce94c349228035b618de8dbe.zip
Rollup merge of #38418 - michaelwoerister:def_path_cleanup, r=eddyb
Cleanup refactoring around DefPath handling

This PR makes two big changes:
* All DefPaths of a crate are now stored in metadata in their own table (as opposed to `DefKey`s as part of metadata `Entry`s.
* The compiler will no longer allocate a pseudo-local DefId for inlined HIR nodes (because those are gross). Inlined HIR nodes will have a NodeId but they don't have there own DefId anymore. Turns out they were not needed anymore either. Hopefully HIR inlining will be gone completely one day but if until then we start needing to be able to map inlined NodeIds to original DefIds, we can add an additional table to metadata that allows for reconstructing this.

Overall this makes for some nice simplifications and removal of special cases.

r? @eddyb

cc @rust-lang/compiler
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions