8000 Rollup of 8 pull requests by Centril · Pull Request #70211 · rust-lang/rust · GitHub
[go: up one dir, main page]

Skip to content

Rollup of 8 pull requests #70211

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 25 commits into from
Mar 21, 2020
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
afa940b
Update the mir inline costs
andjo403 Mar 11, 2020
f8870bf
Build dist-android with --enable-profiler
Mar 16, 2020
63811bc
rustc_infer: remove InferCtxt::closure_sig as the FnSig is always sha…
eddyb Mar 18, 2020
50c0562
Remove -ffreestanding from libprofiler_builtins because we do need th…
Mar 18, 2020
a39875b
do not 'return' in 'throw_' macros
RalfJung Mar 19, 2020
e8f1dfa
hir: replace "items" terminology with "nodes" where appropriate.
eddyb Mar 18, 2020
6cd0dca
Prefetch queries used by the metadata encoder
Zoxc Jan 4, 2020
1a34cbc
Encode exported symbols last
Zoxc Jan 11, 2020
03af82b
Prefetch exported symbols
Zoxc Jan 11, 2020
3d59c0e
Make the timer more verbose
Zoxc Jan 11, 2020
a2bca90
Make metadata prefetching more accurate
Zoxc Jan 13, 2020
801e442
Add some comments
Zoxc Mar 14, 2020
027c8d9
Use `assert_ignored` when encoding metadata
Zoxc Mar 14, 2020
203bb2b
Update stdarch submodule
Amanieu Mar 19, 2020
be9679d
rustc/query: tweak comments on hir_owner{,_nodes}.
eddyb Mar 18, 2020
2d75a33
Refactorings to begin getting rid of rustc_codegen_utils
mark-i-m Mar 12, 2020
e46b3c2
more type annotations to help inference
RalfJung Mar 20, 2020
9adfb18
Rollup merge of #67888 - Zoxc:metadata-prefetch, r=matthewjasper
Centril Mar 21, 2020
426a4cc
Rollup merge of #69934 - andjo403:inlinecost, r=wesleywiser
Centril Mar 21, 2020
0b99489
Rollup merge of #69965 - mark-i-m:codegen-utils, r=eddyb
Centril Mar 21, 8000 2020
bbd1ca3
Rollup merge of #70054 - rojamd:android-pgo, r=michaelwoerister
Centril Mar 21, 2020
a6d0c35
Rollup merge of #70089 - eddyb:closure-sig-infer, r=nikomatsakis
Centril Mar 21, 2020
569272a
Rollup merge of #70092 - eddyb:hir-items-are-just-nodes, r=Zoxc
Centril Mar 21, 2020
16f607f
Rollup merge of #70138 - RalfJung:throw-not-return, r=oli-obk
Centril Mar 21, 2020
744bcc6
Rollup merge of #70151 - Amanieu:stdarch, r=sfackler
Centril Mar 21, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Prefetch exported symbols
  • Loading branch information
Zoxc committed Mar 19, 2020
commit 03af82bb0cc425ff7d4518f36a80a5cb26b6a821
13 changes: 9 additions & 4 deletions src/librustc_metadata/rmeta/encoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1726,10 +1726,15 @@ pub(super) fn encode_metadata(tcx: TyCtxt<'_>) -> EncodedMetadata {
|| {
// Prefetch some queries used by metadata encoding
tcx.dep_graph.with_ignore(|| {
par_for_each_in(tcx.mir_keys(LOCAL_CRATE), |&def_id| {
tcx.optimized_mir(def_id);
tcx.promoted_mir(def_id);
});
join(
|| {
par_for_each_in(tcx.mir_keys(LOCAL_CRATE), |&def_id| {
tcx.optimized_mir(def_id);
tcx.promoted_mir(def_id);
})
},
|| tcx.exported_symbols(LOCAL_CRATE),
);
})
},
)
Expand Down
0