-/**
- * Get the register class which shall be used to store a value of a given mode.
- * @param self The this pointer.
- * @param mode The mode in question.
- * @return A register class which can hold values of the given mode.
- */
-static const arch_register_class_t *TEMPLATE_get_reg_class_for_mode(const ir_mode *mode)
-{
- if (mode_is_float(mode))
- return &TEMPLATE_reg_classes[CLASS_TEMPLATE_fp];
- else
- return &TEMPLATE_reg_classes[CLASS_TEMPLATE_gp];
-}
-