about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-03-27 21:36:51 +0000
committerbors <bors@rust-lang.org>2020-03-27 21:36:51 +0000
commit0bf7c2ad77fdcb18a65ae05996dc8e226fbaeab4 (patch)
treea16379a79bc3e283c99f2aa2aabe007754c36684 /src/librustc_codegen_llvm
parent75208942f6144daac669e8e382029fc33bdce841 (diff)
parent2d7bbda966744f5eff12135bb523ac9c1d561cf0 (diff)
downloadrust-0bf7c2ad77fdcb18a65ae05996dc8e226fbaeab4.tar.gz
rust-0bf7c2ad77fdcb18a65ae05996dc8e226fbaeab4.zip
Auto merge of #70162 - cjgillot:split_query, r=Zoxc
Move the query system to a dedicated crate

The query system `rustc::ty::query` is split out into the `rustc_query_system` crate.

Some commits are unformatted, to ease rebasing.

Based on #67761 and #69910.

r? @Zoxc
Diffstat (limited to 'src/librustc_codegen_llvm')
-rw-r--r--src/librustc_codegen_llvm/context.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/librustc_codegen_llvm/context.rs b/src/librustc_codegen_llvm/context.rs
index 92f59feef90..7e87f45ba4b 100644
--- a/src/librustc_codegen_llvm/context.rs
+++ b/src/librustc_codegen_llvm/context.rs
@@ -7,7 +7,6 @@ use crate::type_::Type;
 use crate::value::Value;
 
 use rustc::bug;
-use rustc::dep_graph::DepGraphSafe;
 use rustc::mir::mono::CodegenUnit;
 use rustc::ty::layout::{
     HasParamEnv, LayoutError, LayoutOf, PointeeInfo, Size, TyLayout, VariantIdx,
@@ -90,8 +89,6 @@ pub struct CodegenCx<'ll, 'tcx> {
     local_gen_sym_counter: Cell<usize>,
 }
 
-impl<'ll, 'tcx> DepGraphSafe for CodegenCx<'ll, 'tcx> {}
-
 pub fn get_reloc_model(sess: &Session) -> llvm::RelocMode {
     let reloc_model_arg = match sess.opts.cg.relocation_model {
         Some(ref s) => &s[..],