Mips: Silence a -Wcovered-switch-default

Remove a default label which covered no enumerators, replace it with a
llvm_unreachable.

No functionality changed.

llvm-svn: 212729
This commit is contained in:
David Majnemer 2014-07-10 16:04:04 +00:00
parent 6e3c63064a
commit 99ef236542
1 changed files with 2 additions and 2 deletions

View File

@ -23,9 +23,9 @@ uint8_t MipsABIFlagsSection::getFpABIValue() {
if (Is32BitABI)
return OddSPReg ? Val_GNU_MIPS_ABI_FP_64 : Val_GNU_MIPS_ABI_FP_64A;
return Val_GNU_MIPS_ABI_FP_DOUBLE;
default:
return 0;
}
llvm_unreachable("unexpected fp abi value");
}
StringRef MipsABIFlagsSection::getFpABIString(FpABIKind Value) {