diff options
-rw-r--r-- | lib/Target/X86/Disassembler/X86DisassemblerDecoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c b/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c index b63fd5a..20e61da 100644 --- a/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c +++ b/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c @@ -305,6 +305,7 @@ static int readPrefixes(struct InternalInstruction* insn) { BOOL prefixGroups[4] = { FALSE }; uint64_t prefixLocation; uint8_t byte = 0; + uint8_t nextByte; BOOL hasAdSize = FALSE; BOOL hasOpSize = FALSE; @@ -325,7 +326,6 @@ static int readPrefixes(struct InternalInstruction* insn) { if (insn->readerCursor - 1 == insn->startLocation && byte == 0xf0) break; - uint8_t nextByte; if (insn->readerCursor - 1 == insn->startLocation && (byte == 0xf2 || byte == 0xf3) && !lookAtByte(insn, &nextByte)) |