File tree 1 file changed +0
-5
lines changed
src/librustc/middle/trans
1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -121,10 +121,6 @@ pub struct CrateContext {
121
121
/// Holds the LLVM values for closure IDs.
122
122
pub unboxed_closure_vals : RefCell < DefIdMap < ValueRef > > ,
123
123
124
- /// Set when at least one function uses GC. Needed so that
125
- /// decl_gc_metadata knows whether to link to the module metadata, which
126
- /// is not emitted by LLVM's GC pass when no functions use GC.
127
- pub uses_gc : bool ,
128
124
pub dbg_cx : Option < debuginfo:: CrateDebugContext > ,
129
125
130
126
pub eh_personality : RefCell < Option < ValueRef > > ,
@@ -230,7 +226,6 @@ impl CrateContext {
230
226
opaque_vec_type : Type :: from_ref ( ptr:: mut_null ( ) ) ,
231
227
builder : BuilderRef_res ( llvm:: LLVMCreateBuilderInContext ( llcx) ) ,
232
228
unboxed_closure_vals : RefCell :: new ( DefIdMap :: new ( ) ) ,
233
- uses_gc : false ,
234
229
dbg_cx : dbg_cx,
235
230
eh_personality : RefCell :: new ( None ) ,
236
231
intrinsics : RefCell :: new ( HashMap :: new ( ) ) ,
You can’t perform that action at this time.
0 commit comments