diff options
Diffstat (limited to 'src/ir_print.cpp')
| -rw-r--r-- | src/ir_print.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp index a5ca1f1197..b9f33152dd 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -835,13 +835,13 @@ static void ir_print_can_implicit_cast(IrPrint *irp, IrInstructionCanImplicitCas } static void ir_print_set_global_align(IrPrint *irp, IrInstructionSetGlobalAlign *instruction) { - fprintf(irp->f, "@setGlobalAlign(%s,", buf_ptr(&instruction->var->name)); + fprintf(irp->f, "@setGlobalAlign(%s,", buf_ptr(instruction->tld_var->base.name)); ir_print_other_instruction(irp, instruction->value); fprintf(irp->f, ")"); } static void ir_print_set_global_section(IrPrint *irp, IrInstructionSetGlobalSection *instruction) { - fprintf(irp->f, "@setGlobalSection(%s,", buf_ptr(&instruction->var->name)); + fprintf(irp->f, "@setGlobalSection(%s,", buf_ptr(instruction->tld_var->base.name)); ir_print_other_instruction(irp, instruction->value); fprintf(irp->f, ")"); } |
