diff options
Diffstat (limited to 'src/ir_print.cpp')
| -rw-r--r-- | src/ir_print.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp index dbad27afb7..e16e795c4d 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -870,6 +870,10 @@ static void ir_print_panic(IrPrint *irp, IrInstructionPanic *instruction) { fprintf(irp->f, ")"); } +static void ir_print_set_fn_ref_inline(IrPrint *irp, IrInstructionSetFnRefInline *instruction) { + fprintf(irp->f, "inline "); + ir_print_other_instruction(irp, instruction->fn_ref); +} static void ir_print_instruction(IrPrint *irp, IrInstruction *instruction) { ir_print_prefix(irp, instruction); @@ -1155,6 +1159,9 @@ static void ir_print_instruction(IrPrint *irp, IrInstruction *instruction) { case IrInstructionIdPanic: ir_print_panic(irp, (IrInstructionPanic *)instruction); break; + case IrInstructionIdSetFnRefInline: + ir_print_set_fn_ref_inline(irp, (IrInstructionSetFnRefInline *)instruction); + break; } fprintf(irp->f, "\n"); } |
