authorgravatar for thatlemon@gmail.comLemonBoy <thatlemon@gmail.com> 2020-01-14 21:13:55+01:00
committergravatar for thatlemon@gmail.comLemonBoy <thatlemon@gmail.com> 2020-01-14 21:13:55+01:00
log158d98a7f2b270b12e79dcd94a4c0f82b158e3b3
tree47c422ac2eaf1956fd4fe673e06e8e7724c4fc95
parentaf2ede4d96d5dd01a9db2f6fbfbe430214beaf63

Print sentinel value in ir_print


1 files changed, 4 insertions(+), 0 deletions(-)

src/ir_print.cpp+4
......@@ -930,6 +930,10 @@ static void ir_print_set_float_mode(IrPrint *irp, IrInstructionSetFloatMode *ins
930930static void ir_print_array_type(IrPrint *irp, IrInstructionArrayType *instruction) {
931931 fprintf(irp->f, "[");
932932 ir_print_other_instruction(irp, instruction->size);
933 if (instruction->sentinel != nullptr) {
934 fprintf(irp->f, ":");
935 ir_print_other_instruction(irp, instruction->sentinel);
936 }
933937 fprintf(irp->f, "]");
934938 ir_print_other_instruction(irp, instruction->child_type);
935939}