Merge pull request #4511 from mikdusan/stage1-verbose-ir

stage1/ir_print: show GenConst in trailing fahsion
This commit is contained in:
Michael Dusan 2020-02-20 02:48:03 -05:00 committed by GitHub
commit c49ab049c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -590,11 +590,6 @@ static void ir_print_const_value(CodeGen *g, FILE *f, ZigValue *const_val) {
static void ir_print_other_inst_gen(IrPrintGen *irp, IrInstGen *inst) {
if (inst == nullptr) {
fprintf(irp->f, "(null)");
return;
}
if (inst->value->special != ConstValSpecialRuntime) {
ir_print_const_value(irp->codegen, irp->f, inst->value);
} else {
ir_print_var_gen(irp, inst);
}