summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beinfo.h
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2009-09-17 16:16:20 +0200
committerMatthias Braun <matze@braunis.de>2009-09-17 16:16:20 +0200
commit39cb52264857d7c21c7141ba82bb55adaa78064d (patch)
treeb26cc326a4645ad0b5e2758831b3d629a7da5b4d /ir/be/beinfo.h
parent65a677516d45936d113d4170932c52c4b9364891 (diff)
- Bigger refactoring and cleanup in backend:
* benodes store the out register requirements in backend_info now (this is work towards killing the register_requirement callbacks) * ir_graph has a pointer to beirg now * Other cleanups [r26540]
Diffstat (limited to 'ir/be/beinfo.h')
-rw-r--r--ir/be/beinfo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ir/be/beinfo.h b/ir/be/beinfo.h
index a7a4a0c..01fd1f9 100644
--- a/ir/be/beinfo.h
+++ b/ir/be/beinfo.h
@@ -55,8 +55,7 @@ struct backend_info_t {
static inline backend_info_t *be_get_info(const ir_node *node)
{
- backend_info_t *info = node->backend_info;
- return info;
+ return (backend_info_t*) node->backend_info;
}
void be_info_init(void);
@@ -66,6 +65,7 @@ void be_info_new_node(ir_node *node);
void be_info_duplicate(const ir_node *old_node, ir_node *new_node);
int be_info_initialized(const ir_graph *irg);
-int be_info_equal(const ir_node *node1, const ir_node *node2);
+int be_nodes_equal(const ir_node *node1, const ir_node *node2);
+int be_infos_equal(const backend_info_t *info1, const backend_info_t *info2);
#endif