Minor cleanup.

This commit is contained in:
David Given 2016-10-08 11:07:28 +02:00
parent 9db902314b
commit 9ebf731335
3 changed files with 2 additions and 3 deletions

View file

@ -103,7 +103,7 @@ void hop_print(char k, struct hop* hop)
case IR_LOCAL: case IR_LOCAL:
case IR_CONST: case IR_CONST:
tracef(k, "0x%d", ir->u.ivalue); tracef(k, "%d", ir->u.ivalue);
break; break;
} }
break; break;

View file

@ -243,6 +243,7 @@ static void select_instructions(void)
} }
else else
{ {
ir_print('I', current_ir);
shadow = build_shadow_tree(current_ir, current_ir); shadow = build_shadow_tree(current_ir, current_ir);
burm_label(shadow); burm_label(shadow);
@ -250,7 +251,6 @@ static void select_instructions(void)
if (!insnno) if (!insnno)
burm_panic_cannot_match(shadow); burm_panic_cannot_match(shadow);
ir_print('I', current_ir);
walk_instructions(shadow, 1); walk_instructions(shadow, 1);
} }
} }

View file

@ -97,4 +97,3 @@ void pass_promote_float_ops(struct procedure* proc)
} }
/* vim: set sw=4 ts=4 expandtab : */ /* vim: set sw=4 ts=4 expandtab : */