diff --git a/src/ir_print.cpp b/src/ir_print.cpp index 57469c4767ea18e0dadbf6efc8986e19db62b1f9..744dcf673d5ccd45e1d2f7f1419706b37bff8704 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -1118,7 +1118,9 @@ static void ir_print_vector_store_elem(IrPrintGen *irp, IrInstGenVectorStoreElem static void ir_print_typeof(IrPrintSrc *irp, IrInstSrcTypeOf *instruction) { fprintf(irp->f, "@TypeOf("); - // ir_print_other_inst_src(irp, instruction->value); + for (size_t i = 0; i < instruction->value_count; i += 1) { + ir_print_other_inst_src(irp, instruction->values[i]); + } fprintf(irp->f, ")"); }