mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Mips: Silence a -Wcovered-switch-default
Remove a default label which covered no enumerators, replace it with a llvm_unreachable. No functionality changed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212729 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0ef47114d3
commit
9478f0a6ff
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user