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 {
230230 providers. global_backend_features = |tcx, ( ) | gcc_util:: global_gcc_features ( tcx. sess , true )
231231 }
232232
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 > {
239234 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) ;
247236
248237 Box :: new ( res)
249238 }
You can’t perform that action at this time.
0 commit comments