Move some provides from cg_llvm to rustc_interface

This commit is contained in:
bjorn3 2019-10-12 12:57:36 +02:00
parent 41d329c10d
commit 5f203d5988
2 changed files with 5 additions and 5 deletions

View file

@ -267,15 +267,10 @@ impl CodegenBackend for LlvmCodegenBackend {
}
fn provide(&self, providers: &mut ty::query::Providers<'_>) {
rustc_codegen_utils::symbol_names::provide(providers);
rustc_codegen_ssa::back::symbol_export::provide(providers);
rustc_codegen_ssa::base::provide_both(providers);
attributes::provide(providers);
}
fn provide_extern(&self, providers: &mut ty::query::Providers<'_>) {
rustc_codegen_ssa::back::symbol_export::provide_extern(providers);
rustc_codegen_ssa::base::provide_both(providers);
attributes::provide_extern(providers);
}