zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 81cc52d4af1f1ecd05d8b75c3cfdc0105a3c53c3 (tree)
parent 1483ae37f2dae6a5b9db1f7851cf5dc9a86e57f3
Author: Michael Dusan <michael.dusan@gmail.com>
Date:   Thu, 20 Feb 2020 00:38:35 -0500

stage1/ir_print: show GenConst in trailing fahsion

Diffstat:
Msrc/ir_print.cpp | 5-----
1 file changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/ir_print.cpp b/src/ir_print.cpp @@ -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); }