authorgravatar for michael.dusan@gmail.comMichael Dusan <michael.dusan@gmail.com> 2020-02-20 02:48:03-05:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2020-02-20 02:48:03-05:00
logc49ab049c590d51661654084062f9f067c73fda0
tree16a981a7ceacf0df3362a6f3f8c0d468e5384800
parent1483ae37f2dae6a5b9db1f7851cf5dc9a86e57f3
parent81cc52d4af1f1ecd05d8b75c3cfdc0105a3c53c3
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

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

stage1/ir_print: show GenConst in trailing fahsion

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

src/ir_print.cpp-5
......@@ -590,11 +590,6 @@ static void ir_print_const_value(CodeGen *g, FILE *f, ZigValue *const_val) {
590590static void ir_print_other_inst_gen(IrPrintGen *irp, IrInstGen *inst) {
591591 if (inst == nullptr) {
592592 fprintf(irp->f, "(null)");
593 return;
594 }
595
596 if (inst->value->special != ConstValSpecialRuntime) {
597 ir_print_const_value(irp->codegen, irp->f, inst->value);
598593 } else {
599594 ir_print_var_gen(irp, inst);
600595 }