| ... | @@ -19735,6 +19735,11 @@ static IrInstruction *ir_analyze_instruction_compile_log(IrAnalyze *ira, IrInstr | ... | @@ -19735,6 +19735,11 @@ static IrInstruction *ir_analyze_instruction_compile_log(IrAnalyze *ira, IrInstr |
| 19735 | if (type_is_invalid(msg->value.type)) | 19735 | if (type_is_invalid(msg->value.type)) |
| 19736 | return ira->codegen->invalid_instruction; | 19736 | return ira->codegen->invalid_instruction; |
| 19737 | buf_resize(&buf, 0); | 19737 | buf_resize(&buf, 0); |
| | 19738 | if (msg->value.special == ConstValSpecialLazy) { |
| | 19739 | // Resolve any lazy value that's passed, we need its value |
| | 19740 | if (ir_resolve_lazy(ira->codegen, msg->source_node, &msg->value)) |
| | 19741 | return ira->codegen->invalid_instruction; |
| | 19742 | } |
| 19738 | render_const_value(ira->codegen, &buf, &msg->value); | 19743 | render_const_value(ira->codegen, &buf, &msg->value); |
| 19739 | const char *comma_str = (i != 0) ? ", " : ""; | 19744 | const char *comma_str = (i != 0) ? ", " : ""; |
| 19740 | fprintf(stderr, "%s%s", comma_str, buf_ptr(&buf)); | 19745 | fprintf(stderr, "%s%s", comma_str, buf_ptr(&buf)); |