File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -230,20 +230,9 @@ impl CodegenBackend for GccCodegenBackend {
230
230
providers. global_backend_features = |tcx, ( ) | gcc_util:: global_gcc_features ( tcx. sess , true )
231
231
}
232
232
233
- fn codegen_crate (
234
- & self ,
235
- tcx : TyCtxt < ' _ > ,
236
- metadata : EncodedMetadata ,
237
- need_metadata_module : bool ,
238
- ) -> Box < dyn Any > {
233
+ fn codegen_crate ( & self , tcx : TyCtxt < ' _ > , metadata : Option < & EncodedMetadata > ) -> Box < dyn Any > {
239
234
let target_cpu = target_cpu ( tcx. sess ) ;
240
- let res = codegen_crate (
241
- self . clone ( ) ,
242
- tcx,
243
- target_cpu. to_string ( ) ,
244
- metadata,
245
- need_metadata_module,
246
- ) ;
235
+ let res = codegen_crate ( self . clone ( ) , tcx, target_cpu. to_string ( ) , metadata) ;
247
236
248
237
Box :: new ( res)
249
238
}
You can’t perform that action at this time.
0 commit comments