stage1/ir_print: show GenConst in trailing fahsion

This commit is contained in:
Michael Dusan 2020-02-20 00:38:35 -05:00
parent 1483ae37f2
commit 81cc52d4af
No known key found for this signature in database
GPG Key ID: ED4C5BA849FA1B74

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);
}