summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bechordal_common.c
diff options
context:
space:
mode:
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>2013-03-08 14:25:46 +0100
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>2013-03-08 14:25:53 +0100
commit4ce5894dadca0ef8d6f49508235d49f3cf5c06af (patch)
treef41356c761bf445d7714eec22df1a111aa0d053b /ir/be/bechordal_common.c
parent8d2dea2d548cd2666fd4defb886830a292f1c244 (diff)
Use single char instead of string.
Diffstat (limited to 'ir/be/bechordal_common.c')
-rw-r--r--ir/be/bechordal_common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ir/be/bechordal_common.c b/ir/be/bechordal_common.c
index 4393ef9..130fb74 100644
--- a/ir/be/bechordal_common.c
+++ b/ir/be/bechordal_common.c
@@ -99,14 +99,14 @@ void create_borders(ir_node *block, void *env_ptr)
/* If the node is no phi node we can examine the uses. */
if (!is_Phi(irn)) {
be_foreach_use(irn, env->cls, in_req_, op, op_req_,
- const char *msg = "-";
+ char msg = '-';
if (ir_nodeset_insert(&live, op)) {
border_use(op, step, 1);
- msg = "X";
+ msg = 'X';
}
- DB((dbg, LEVEL_4, "\t\t%s pos: %d, use: %+F\n", msg, i_, op));
+ DB((dbg, LEVEL_4, "\t\t%c pos: %d, use: %+F\n", msg, i_, op));
);
}
++step;