Remove the unused function arch_is_possible_memory_operand(). It is identical to...
authorChristoph Mallon <christoph.mallon@gmx.de>
Sat, 11 Oct 2008 16:13:47 +0000 (16:13 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Sat, 11 Oct 2008 16:13:47 +0000 (16:13 +0000)
[r22685]

ir/be/bearch.c

index 4c14c45..ebfdc15 100644 (file)
@@ -158,18 +158,6 @@ int arch_get_op_estimated_cost(const ir_node *irn)
        }
 }
 
-int arch_is_possible_memory_operand(const arch_env_t *env, const ir_node *irn, int i)
-{
-       const arch_irn_ops_t *ops = get_irn_ops(irn);
-       (void)env; // TODO remove parameter
-
-       if(ops->possible_memory_operand) {
-               return ops->possible_memory_operand(irn, i);
-       } else {
-               return 0;
-       }
-}
-
 int arch_get_allocatable_regs(const arch_env_t *env, const ir_node *irn, int pos, bitset_t *bs)
 {
        const arch_irn_ops_t *ops = get_irn_ops(irn);