From 18a8e10720decaeab3f3d1f35c1a513d1e6ac65b Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Tue, 1 Oct 2013 07:10:28 +0000 Subject: [PATCH] Remove 0 as a valid encoding for the m-mmmm field. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191732 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/Disassembler/X86DisassemblerDecoder.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c b/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c index 07047f2f854..c26cfb53550 100644 --- a/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c +++ b/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c @@ -589,8 +589,6 @@ static int readOpcode(struct InternalInstruction* insn) { default: dbgprintf(insn, "Unhandled m-mmmm field for instruction (0x%hhx)", mmmmmFromVEX2of3(insn->vexPrefix[1])); return -1; - case 0: - break; case VEX_LOB_0F: insn->opcodeType = TWOBYTE; return consumeByte(insn, &insn->opcode);