projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clarify some node comments
[libfirm]
/
ir
/
opt
/
combo.c
diff --git
a/ir/opt/combo.c
b/ir/opt/combo.c
index
ad88f5a
..
505e24b
100644
(file)
--- a/
ir/opt/combo.c
+++ b/
ir/opt/combo.c
@@
-454,9
+454,9
@@
static void dump_split_list(const partition_t *list)
/**
* Dump partition and type for a node.
*/
/**
* Dump partition and type for a node.
*/
-static int dump_partition_hook(FILE *F,
ir_node *n,
ir_node *local)
+static int dump_partition_hook(FILE *F,
const ir_node *n, const
ir_node *local)
{
{
- ir_node *irn = local != NULL ? local : n;
+
const
ir_node *irn = local != NULL ? local : n;
node_t *node = get_irn_node(irn);
ir_fprintf(F, "info2 : \"partition %u type %+F\"\n", node->part->nr, node->type);
node_t *node = get_irn_node(irn);
ir_fprintf(F, "info2 : \"partition %u type %+F\"\n", node->part->nr, node->type);