mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 00:29:20 +00:00
Build fix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189699 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d4b3168609
commit
06f9db01ba
@ -305,6 +305,7 @@ static int readPrefixes(struct InternalInstruction* insn) {
|
|||||||
BOOL prefixGroups[4] = { FALSE };
|
BOOL prefixGroups[4] = { FALSE };
|
||||||
uint64_t prefixLocation;
|
uint64_t prefixLocation;
|
||||||
uint8_t byte = 0;
|
uint8_t byte = 0;
|
||||||
|
uint8_t nextByte;
|
||||||
|
|
||||||
BOOL hasAdSize = FALSE;
|
BOOL hasAdSize = FALSE;
|
||||||
BOOL hasOpSize = FALSE;
|
BOOL hasOpSize = FALSE;
|
||||||
@ -325,7 +326,6 @@ static int readPrefixes(struct InternalInstruction* insn) {
|
|||||||
if (insn->readerCursor - 1 == insn->startLocation && byte == 0xf0)
|
if (insn->readerCursor - 1 == insn->startLocation && byte == 0xf0)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
uint8_t nextByte;
|
|
||||||
if (insn->readerCursor - 1 == insn->startLocation
|
if (insn->readerCursor - 1 == insn->startLocation
|
||||||
&& (byte == 0xf2 || byte == 0xf3)
|
&& (byte == 0xf2 || byte == 0xf3)
|
||||||
&& !lookAtByte(insn, &nextByte))
|
&& !lookAtByte(insn, &nextByte))
|
||||||
|
Loading…
Reference in New Issue
Block a user