diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-12-12 20:16:58 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-04-14 09:38:04 +0000 |
| commit | 421f22e8bf404d7b67395a66e60300e99452549a (patch) | |
| tree | 17684324fad4b75c23ff320cf7c730ed948f63fd /compiler/rustc_codegen_gcc/src/asm.rs | |
| parent | 94e95f389c8212b5b43c327c4643cfd5dd5c60a3 (diff) | |
| download | rust-421f22e8bf404d7b67395a66e60300e99452549a.tar.gz rust-421f22e8bf404d7b67395a66e60300e99452549a.zip | |
Pass &mut self to codegen_global_asm
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/asm.rs')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/asm.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/src/asm.rs b/compiler/rustc_codegen_gcc/src/asm.rs index 415f8affab9..235814c948f 100644 --- a/compiler/rustc_codegen_gcc/src/asm.rs +++ b/compiler/rustc_codegen_gcc/src/asm.rs @@ -794,7 +794,7 @@ fn dummy_output_type<'gcc, 'tcx>(cx: &CodegenCx<'gcc, 'tcx>, reg: InlineAsmRegCl impl<'gcc, 'tcx> AsmCodegenMethods<'tcx> for CodegenCx<'gcc, 'tcx> { fn codegen_global_asm( - &self, + &mut self, template: &[InlineAsmTemplatePiece], operands: &[GlobalAsmOperandRef<'tcx>], options: InlineAsmOptions, |
