Commit 013f4278 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Remove the unused function arch_is_register_operand().

[r22768]
parent d9e0a4e9
......@@ -185,14 +185,6 @@ void arch_put_non_ignore_regs(const arch_register_class_t *cls, bitset_t *bs)
}
}
int arch_is_register_operand(const ir_node *irn, int pos)
{
const arch_irn_ops_t *ops = get_irn_ops(irn);
const arch_register_req_t *req = ops->get_irn_reg_req(irn, pos);
return req != NULL;
}
int arch_reg_is_allocatable(const ir_node *irn, int pos, const arch_register_t *reg)
{
const arch_register_req_t *req = arch_get_register_req(irn, pos);
......
......@@ -135,15 +135,6 @@ void arch_perform_memory_operand(ir_node *irn, ir_node *spill, unsign
*/
const arch_register_req_t *arch_get_register_req(const ir_node *irn, int pos);
/**
* Check if an operand is a register operand.
* @param irn The node.
* @param pos The position of the operand.
* @return 1, if the operand is significant for register allocation, 0
* if not.
*/
int arch_is_register_operand(const ir_node *irn, int pos);
/**
* Get the number of allocatable registers concerning
* a register class for an operand of a node.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment