summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bechordal_common.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-11-24 13:23:20 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-11-24 13:23:20 +0100
commite2fadf9cbf94bab8ef6352b38e2ec1610cf1e2ec (patch)
treeeeefa36dd275d71156c06d37b315704ecf38f8b1 /ir/be/bechordal_common.c
parent4cc3311524cb6c1bf034a97c113cd7347a8a943a (diff)
bechordal: Merge the macro chordal_has_class() and the function has_reg_class().
Diffstat (limited to 'ir/be/bechordal_common.c')
-rw-r--r--ir/be/bechordal_common.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ir/be/bechordal_common.c b/ir/be/bechordal_common.c
index e4cab1b..563fe87 100644
--- a/ir/be/bechordal_common.c
+++ b/ir/be/bechordal_common.c
@@ -49,11 +49,6 @@ DEBUG_ONLY(static firm_dbg_module_t *dbg = NULL;)
/* Make a fourcc for border checking. */
#define BORDER_FOURCC FOURCC('B', 'O', 'R', 'D')
-int has_reg_class(const be_chordal_env_t *env, const ir_node *irn)
-{
- return arch_irn_consider_in_reg_alloc(env->cls, irn);
-}
-
static inline border_t *border_add(be_chordal_env_t *env, struct list_head *head,
ir_node *irn, unsigned step, unsigned pressure,
unsigned is_def, unsigned is_real)