-/**
- * 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;
-}
-