Pass &mut self to codegen_global_asm

This commit is contained in:
bjorn3
2024-12-12 20:16:58 +00:00
parent 94e95f389c
commit 421f22e8bf
8 changed files with 19 additions and 11 deletions

View File

@@ -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,