diff options
-rw-r--r-- | lib/Target/SparcV9/SparcV9RegInfo.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/SparcV9/SparcV9RegInfo.cpp b/lib/Target/SparcV9/SparcV9RegInfo.cpp index dd5a02d..b6da2e6 100644 --- a/lib/Target/SparcV9/SparcV9RegInfo.cpp +++ b/lib/Target/SparcV9/SparcV9RegInfo.cpp @@ -106,7 +106,6 @@ const char * const SparcV9FloatRegClass::getRegName(unsigned reg) const { return FloatRegNames[reg]; } - static const char * const IntCCRegNames[] = { "xcc", "icc", "ccr" }; @@ -121,7 +120,7 @@ static const char * const FloatCCRegNames[] = { }; const char * const SparcV9FloatCCRegClass::getRegName(unsigned reg) const { - assert (reg < 5); + assert (reg < 4); return FloatCCRegNames[reg]; } |