From 9ebf731335819eef27c63b5bf342f215f02cc621 Mon Sep 17 00:00:00 2001 From: David Given Date: Sat, 8 Oct 2016 11:07:28 +0200 Subject: [PATCH] Minor cleanup. --- mach/proto/mcg/hop.c | 2 +- mach/proto/mcg/pass_instructionselection.c | 2 +- mach/proto/mcg/pass_promotefloatops.c | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/mach/proto/mcg/hop.c b/mach/proto/mcg/hop.c index d175147b6..652b9f658 100644 --- a/mach/proto/mcg/hop.c +++ b/mach/proto/mcg/hop.c @@ -103,7 +103,7 @@ void hop_print(char k, struct hop* hop) case IR_LOCAL: case IR_CONST: - tracef(k, "0x%d", ir->u.ivalue); + tracef(k, "%d", ir->u.ivalue); break; } break; diff --git a/mach/proto/mcg/pass_instructionselection.c b/mach/proto/mcg/pass_instructionselection.c index 029cacd4b..4e3edd4da 100644 --- a/mach/proto/mcg/pass_instructionselection.c +++ b/mach/proto/mcg/pass_instructionselection.c @@ -243,6 +243,7 @@ static void select_instructions(void) } else { + ir_print('I', current_ir); shadow = build_shadow_tree(current_ir, current_ir); burm_label(shadow); @@ -250,7 +251,6 @@ static void select_instructions(void) if (!insnno) burm_panic_cannot_match(shadow); - ir_print('I', current_ir); walk_instructions(shadow, 1); } } diff --git a/mach/proto/mcg/pass_promotefloatops.c b/mach/proto/mcg/pass_promotefloatops.c index 478143b38..7b1d769f1 100644 --- a/mach/proto/mcg/pass_promotefloatops.c +++ b/mach/proto/mcg/pass_promotefloatops.c @@ -97,4 +97,3 @@ void pass_promote_float_ops(struct procedure* proc) } /* vim: set sw=4 ts=4 expandtab : */ -