summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beinfo.c
diff options
context:
space:
mode:
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>2011-02-24 23:20:50 +0100
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>2011-02-26 10:27:58 +0100
commit09913c6466bf204f32f0fe00961011e2ba952157 (patch)
tree9c5beaefa08f5873dfee81bf18440cf25938c337 /ir/be/beinfo.c
parentcf1faf80c71a681b5f7e5f1d1e8ed295f2ec03d9 (diff)
Constify node_cmp_attr_func.
[r28458]
Diffstat (limited to 'ir/be/beinfo.c')
-rw-r--r--ir/be/beinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ir/be/beinfo.c b/ir/be/beinfo.c
index 51f4327..4bde9e8 100644
--- a/ir/be/beinfo.c
+++ b/ir/be/beinfo.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-2011 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
@@ -75,7 +75,7 @@ static void new_phi_copy_attr(ir_graph *irg, const ir_node *old_node,
old_phi_copy_attr(irg, old_node, new_node);
}
-int be_nodes_equal(ir_node *node1, ir_node *node2)
+int be_nodes_equal(const ir_node *node1, const ir_node *node2)
{
const backend_info_t *info1 = be_get_info(node1);
const backend_info_t *info2 = be_get_info(node2);