summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beprefalloc.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/beprefalloc.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/beprefalloc.c')
-rw-r--r--ir/be/beprefalloc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ir/be/beprefalloc.c b/ir/be/beprefalloc.c
index d3c91b4..edd9eec 100644
--- a/ir/be/beprefalloc.c
+++ b/ir/be/beprefalloc.c
@@ -293,7 +293,7 @@ static void analyze_block(ir_node *block, void *data)
32 inputs. */
allocation_info_t *info = get_allocation_info(node);
if (get_irn_arity(node) >= (int)sizeof(info->last_uses) * 8) {
- panic("Node with more than %d inputs not supported yet",
+ panic("node with more than %d inputs not supported yet",
(int) sizeof(info->last_uses) * 8);
}
@@ -729,7 +729,7 @@ static void assign_reg(ir_node const *const block, ir_node *const node, arch_reg
if (r >= n_regs) {
/* the common reason to hit this panic is when 1 of your nodes is not
* register pressure faithful */
- panic("No register left for %+F\n", node);
+ panic("no register left for %+F", node);
}
final_reg = arch_register_for_index(cls, final_reg_index);
@@ -1058,14 +1058,14 @@ static void solve_lpp(ir_nodeset_t *live_nodes, ir_node *node,
FILE *out = fopen("lppdump.txt", "w");
if (out == NULL)
- panic("Couldn't open lppdump.txt");
+ panic("couldn't open lppdump.txt");
lpp_dump_plain(lpp, out);
fclose(out);
/* solve lpp */
lpp_solve(lpp, be_options.ilp_server, be_options.ilp_solver);
if (!lpp_is_sol_valid(lpp))
- panic("ilp solution not valid!");
+ panic("ilp solution not valid");
unsigned *assignment = ALLOCAN(unsigned, n_regs);
for (unsigned l = 0; l < n_regs; ++l) {