Move default case for covered enum outside of switch.

llvm-svn: 147870
This commit is contained in:
Richard Smith 2012-01-10 19:43:09 +00:00
parent d5ab02600e
commit ad5b42c02f
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,6 @@ namespace ARMCC {
inline static const char *ARMCondCodeToString(ARMCC::CondCodes CC) {
switch (CC) {
default: llvm_unreachable("Unknown condition code");
case ARMCC::EQ: return "eq";
case ARMCC::NE: return "ne";
case ARMCC::HS: return "hs";
@ -84,6 +83,7 @@ inline static const char *ARMCondCodeToString(ARMCC::CondCodes CC) {
case ARMCC::LE: return "le";
case ARMCC::AL: return "al";
}
llvm_unreachable("Unknown condition code");
}
namespace ARM_PROC {