mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-10 14:10:58 +00:00
X86DisassemblerDecoder.c: Make this C89-compliant.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177910 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8173c5e7c8
commit
a154371eca
@ -323,9 +323,9 @@ static int readPrefixes(struct InternalInstruction* insn) {
|
||||
*/
|
||||
if (insn->readerCursor - 1 == insn->startLocation
|
||||
&& (byte == 0xf0 || byte == 0xf2 || byte == 0xf3)) {
|
||||
uint8_t nextByte;
|
||||
if (byte == 0xf0)
|
||||
break;
|
||||
uint8_t nextByte;
|
||||
if (lookAtByte(insn, &nextByte))
|
||||
return -1;
|
||||
if (insn->mode == MODE_64BIT && (nextByte & 0xf0) == 0x40) {
|
||||
|
Loading…
Reference in New Issue
Block a user