Build fix

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189699 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Richard Mitton 2013-08-30 21:32:42 +00:00
parent d4b3168609
commit 06f9db01ba

View File

@ -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))