Commit 4bfbe16a authored by Christoph Mallon's avatar Christoph Mallon
Browse files

ir: Do not print the irg in panic messages, if it is only available via current_ir_graph.

parent de01926f
......@@ -307,10 +307,10 @@ static void parse_asm_constraints(constraint_t *const constraint, ident *const c
case 'y': /* we don't support mmx registers yet */
case 'Z': /* not available in 32 bit mode */
case 'e': /* not available in 32 bit mode */
panic("unsupported asm constraint '%c' found in (%+F)", *c, current_ir_graph);
panic("unsupported asm constraint '%c'", *c);
default:
panic("unknown asm constraint '%c' found in (%+F)", *c, current_ir_graph);
panic("unknown asm constraint '%c'", *c);
}
if (new_cls) {
......
......@@ -307,7 +307,7 @@ static void parse_asm_constraints(constraint_t *const constraint,
}
default:
panic("unknown asm constraint '%c' found in (%+F)", *c, current_ir_graph);
panic("unknown asm constraint '%c'", *c);
}
if (new_cls) {
......
......@@ -576,7 +576,6 @@ static tarval *compare_iv_dbg(const interval_t *l_iv, const interval_t *r_iv, ir
if (tv == tarval_unknown)
return tv;
ir_printf("In %e:\n", get_irg_entity(current_ir_graph));
print_iv_cmp(l_iv, r_iv, relation);
ir_printf(" = %T\n", tv);
return tv;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment