mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-23 20:57:21 +00:00
[X86] Explicitly list all X86 instruction forms in switch statement so its easier to detect when one is missing. NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279420 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f631b7acf6
commit
d30b1a1614
@ -841,7 +841,16 @@ void RecognizableInstr::emitDecodePath(DisassemblerTables &tables) const {
|
||||
}
|
||||
|
||||
switch (Form) {
|
||||
default:
|
||||
default: llvm_unreachable("Invalid form!");
|
||||
case X86Local::Pseudo: llvm_unreachable("Pseudo should not be emitted!");
|
||||
case X86Local::RawFrm:
|
||||
case X86Local::AddRegFrm:
|
||||
case X86Local::RawFrmMemOffs:
|
||||
case X86Local::RawFrmSrc:
|
||||
case X86Local::RawFrmDst:
|
||||
case X86Local::RawFrmDstSrc:
|
||||
case X86Local::RawFrmImm8:
|
||||
case X86Local::RawFrmImm16:
|
||||
filter = new DumbFilter();
|
||||
break;
|
||||
case X86Local::MRMDestReg: case X86Local::MRMDestMem:
|
||||
|
Loading…
x
Reference in New Issue
Block a user