- assert(env->handlers_tos > 0 && env->handlers_tos <= ARCH_MAX_HANDLERS);
- return env->handlers[--env->handlers_tos];
-}
-
-static const arch_irn_ops_t *fallback_irn_ops = NULL;
-
-int arch_register_class_put(const arch_register_class_t *cls, bitset_t *bs)
-{
- if(bs) {
- int i, n;
- for(i = 0, n = cls->n_regs; i < n; ++i)
- bitset_set(bs, i);
- }
-
- return cls->n_regs;
+ int i, n = cls->n_regs;
+ for (i = n - 1; i >= 0; --i)
+ bitset_set(bs, i);
+ return n;