forked from OSchip/llvm-project
Fix MSVC "switch statement contains 'default' but no 'case' labels" warning. NFCI.
This commit is contained in:
parent
6878be5dc3
commit
70ee8dc0b6
|
@ -134,11 +134,8 @@ static unsigned getRelaxedOpcodeBranch(const MCInst &Inst) {
|
|||
|
||||
static unsigned getRelaxedOpcodeArith(const MCInst &Inst) {
|
||||
unsigned Op = Inst.getOpcode();
|
||||
switch (Op) {
|
||||
default:
|
||||
return Op;
|
||||
// NOTE there will be some relaxations for PCD and ARD mem for x20
|
||||
}
|
||||
// NOTE there will be some relaxations for PCD and ARD mem for x20
|
||||
return Op;
|
||||
}
|
||||
|
||||
static unsigned getRelaxedOpcode(const MCInst &Inst) {
|
||||
|
|
Loading…
Reference in New Issue