summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bepeephole.c
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2014-11-13 10:15:27 +0100
committerChristoph Mallon <mallon@cs.uni-saarland.de>2014-11-13 17:32:04 +0100
commitd582c836a6c27c978d3336d466e9426e6b887f49 (patch)
tree7fa69b856d1e1166f38e878acfa1cb0cedd0d27e /ir/be/bepeephole.c
parentc2da6631426f44c023d3a0ee0cdbf4083aa94a84 (diff)
debug: Clean up panic messages.
* No \n at end; panic() adds one * No punctuation mark at end * Lowercase first letter
Diffstat (limited to 'ir/be/bepeephole.c')
-rw-r--r--ir/be/bepeephole.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ir/be/bepeephole.c b/ir/be/bepeephole.c
index 295942c..505e28d 100644
--- a/ir/be/bepeephole.c
+++ b/ir/be/bepeephole.c
@@ -39,7 +39,7 @@ static void clear_reg_value(ir_node *node)
const arch_register_t *reg = arch_get_irn_register(node);
if (reg == NULL) {
- panic("No register assigned at %+F", node);
+ panic("no register assigned at %+F", node);
}
if (reg->type & arch_register_type_virtual)
return;
@@ -56,7 +56,7 @@ static void set_reg_value(ir_node *node)
const arch_register_t *reg = arch_get_irn_register(node);
if (reg == NULL) {
- panic("No register assigned at %+F", node);
+ panic("no register assigned at %+F", node);
}
if (reg->type & arch_register_type_virtual)
return;
@@ -118,7 +118,7 @@ static void be_peephole_before_exchange(const ir_node *old_node,
const arch_register_t *reg = arch_get_irn_register(old_node);
if (reg == NULL) {
- panic("No register assigned at %+F", old_node);
+ panic("no register assigned at %+F", old_node);
}
assert(reg == arch_get_irn_register(new_node) &&
"KILLING a node and replacing by different register is not allowed");