From 492102aff11fe1be93d07faf60a7c44100564640 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sat, 11 Oct 2008 14:52:32 +0000 Subject: [PATCH] Remove the unused function arch_count_non_ignore_regs(). [r22672] --- ir/be/bearch.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/ir/be/bearch.c b/ir/be/bearch.c index 92df88995..88e6a2fa0 100644 --- a/ir/be/bearch.c +++ b/ir/be/bearch.c @@ -204,21 +204,6 @@ void arch_put_non_ignore_regs(const arch_register_class_t *cls, bitset_t *bs) } } -int arch_count_non_ignore_regs(const arch_env_t *env, - const arch_register_class_t *cls) -{ - unsigned i; - int result = 0; - (void) env; - - for(i = 0; i < cls->n_regs; ++i) { - if(!arch_register_type_is(&cls->regs[i], ignore)) - result++; - } - - return result; -} - int arch_is_register_operand(const arch_env_t *env, const ir_node *irn, int pos) { -- 2.20.1