summaryrefslogtreecommitdiffhomepage
path: root/ir/be/becopyopt_t.h
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-31 12:19:39 +0200
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-31 18:41:51 +0200
commitf617d134f700350cd76d006b07f21643cb546f8f (patch)
treeaee34b1815c617459dc50906daf27418538c766d /ir/be/becopyopt_t.h
parent0e5175cfc0b2bda590ba2f362a2d388dad03f6e3 (diff)
becopyilp: Clean up a bit.
Diffstat (limited to 'ir/be/becopyopt_t.h')
-rw-r--r--ir/be/becopyopt_t.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/ir/be/becopyopt_t.h b/ir/be/becopyopt_t.h
index 3d3bde2..7c4c545 100644
--- a/ir/be/becopyopt_t.h
+++ b/ir/be/becopyopt_t.h
@@ -39,18 +39,6 @@ struct copy_opt_t {
#define ASSERT_OU_AVAIL(co) assert((co)->units.next && "Representation as optimization-units not built")
#define ASSERT_GS_AVAIL(co) assert((co)->nodes && "Representation as graph not built")
-static inline unsigned get_irn_col(const ir_node *node)
-{
- return arch_get_irn_register(node)->index;
-}
-
-static inline void set_irn_col(const arch_register_class_t *cls, ir_node *node,
- unsigned color)
-{
- const arch_register_t *reg = arch_register_for_index(cls, color);
- arch_set_irn_register(node, reg);
-}
-
#define get_Perm_src(irn) (get_irn_n(get_Proj_pred(irn), get_Proj_num(irn)))
#define is_Perm_Proj(irn) (is_Proj(irn) && be_is_Perm(get_Proj_pred(irn)))