File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ pub(crate) unsafe fn codegen(cgcx: &CodegenContext<GccCodegenBackend>, _diag_han
32
32
if config. emit_asm {
33
33
let _timer = cgcx
34
34
. prof
35
- . generic_activity_with_arg ( "LLVM_module_codegen_emit_asm" , & module. name [ .. ] ) ;
35
+ . generic_activity_with_arg ( "LLVM_module_codegen_emit_asm" , & * module. name ) ;
36
36
let path = cgcx. output_filenames . temp_path ( OutputType :: Assembly , module_name) ;
37
37
context. compile_to_file ( OutputKind :: Assembler , path. to_str ( ) . expect ( "path to str" ) ) ;
38
38
}
@@ -41,7 +41,7 @@ pub(crate) unsafe fn codegen(cgcx: &CodegenContext<GccCodegenBackend>, _diag_han
41
41
EmitObj :: ObjectCode ( _) => {
42
42
let _timer = cgcx
43
43
. prof
44
- . generic_activity_with_arg ( "LLVM_module_codegen_emit_obj" , & module. name [ .. ] ) ;
44
+ . generic_activity_with_arg ( "LLVM_module_codegen_emit_obj" , & * module. name ) ;
45
45
match & * module. name {
46
46
"std_example.7rcbfp3g-cgu.15" => {
47
47
println ! ( "Dumping reproducer {}" , module. name) ;
You can’t perform that action at this time.
0 commit comments