Commit f38e1b5a authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Follow-up to r22928: Remove arch_register_class_put().

[r22931]
parent 2c2c56e7
......@@ -46,20 +46,6 @@ arch_env_t *arch_env_init(const arch_isa_if_t *isa_if, FILE *file_handle, be_mai
return arch_env;
}
/**
* Put all registers in a class into a bitset.
* @param cls The class.
* @param bs The bitset.
* @return The number of registers in the class.
*/
static int arch_register_class_put(const arch_register_class_t *cls, bitset_t *bs)
{
int i, n = cls->n_regs;
for (i = n - 1; i >= 0; --i)
bitset_set(bs, i);
return n;
}
/**
* Get the isa responsible for a node.
* @param irn The node to get the responsible isa for.
......
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