summaryrefslogtreecommitdiffhomepage
path: root/ir/be/becopyopt_t.h
diff options
context:
space:
mode:
authorSebastian Hack <hack@ipd.info.uni-karlsruhe.de>2006-05-02 14:01:04 +0200
committerSebastian Hack <hack@ipd.info.uni-karlsruhe.de>2006-05-02 14:01:04 +0200
commit79ffe731543f1863e65714e997b91374519d3cc7 (patch)
treee76cc3b27d5b6b94ced09116affb4c5961b8257d /ir/be/becopyopt_t.h
parent55458508da6e0e1bb3cbb89a0692a77ab1f05d61 (diff)
Added Appel dumping
Diffstat (limited to 'ir/be/becopyopt_t.h')
-rw-r--r--ir/be/becopyopt_t.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ir/be/becopyopt_t.h b/ir/be/becopyopt_t.h
index 3fcb0f7..be1a598 100644
--- a/ir/be/becopyopt_t.h
+++ b/ir/be/becopyopt_t.h
@@ -54,6 +54,7 @@ struct _copy_opt_t {
#define is_2addr_code(arch_env, irn, req) (arch_get_register_req(arch_env, req, irn, -1)->type == arch_register_req_type_should_be_same)
+
/******************************************************************************
____ _ _ _ _ _ _____ _
/ __ \ | | | | | | (_) | / ____| |
@@ -109,6 +110,7 @@ struct _affinity_node_t {
ir_node *irn; /** a node with affinity edges */
int degree; /** number of affinity edges in the linked list below */
neighb_t *neighbours; /** a linked list of all affinity neighbours */
+ void *data; /** stuff that is attachable. */
};
@@ -124,10 +126,9 @@ static INLINE affinity_node_t *get_affinity_info(const copy_opt_t *co, ir_node *
#define co_gs_nodes_begin(co) set_first((co)->nodes)
#define co_gs_nodes_next(co) set_next((co)->nodes)
#define co_gs_nodes_break(co) set_break((co)->nodes)
-#define co_gs_foreach_aff_node(co, aff_node) for (aff_node = co_gs_nodes_begin(co); aff_node; aff_node = co_gs_nodes_next(co))
+#define co_gs_foreach_aff_node(co, aff_node) for (aff_node = co_gs_nodes_begin(co); aff_node; aff_node = co_gs_nodes_next(co))
#define co_gs_foreach_neighb(aff_node, neighb) for (neighb = aff_node->neighbours; neighb; neighb = neighb->next)
-
#endif