aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/Disassembler
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2013-10-01 07:10:28 +0000
committerCraig Topper <craig.topper@gmail.com>2013-10-01 07:10:28 +0000
commit18a8e10720decaeab3f3d1f35c1a513d1e6ac65b (patch)
treee3298d1aed8bb4dc856f24e04f10d0f924113b6a /lib/Target/X86/Disassembler
parent8568510d46e15b2779f3710d7343604899716cee (diff)
downloadexternal_llvm-18a8e10720decaeab3f3d1f35c1a513d1e6ac65b.zip
external_llvm-18a8e10720decaeab3f3d1f35c1a513d1e6ac65b.tar.gz
external_llvm-18a8e10720decaeab3f3d1f35c1a513d1e6ac65b.tar.bz2
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
Diffstat (limited to 'lib/Target/X86/Disassembler')
-rw-r--r--lib/Target/X86/Disassembler/X86DisassemblerDecoder.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c b/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c
index 07047f2..c26cfb5 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);