43a44
> CCRegClass, ///< Condition-code register
75c76
< } else if (reg_idx < TheISA::Misc_Reg_Base) {
---
> } else if (reg_idx < TheISA::CC_Reg_Base) {
77a79,84
> } else if (reg_idx < TheISA::Misc_Reg_Base) {
> // if there are no CC regs, the ISA should set
> // CC_Reg_Base == Misc_Reg_Base so the if above
> // never succeeds
> cl = CCRegClass;
> offset = TheISA::CC_Reg_Base;