mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[X86] Fix MSVC "truncation from 'int' to 'bool'" warning. NFCI.
This commit is contained in:
parent
a5ce9c1527
commit
340feeb91b
@ -936,14 +936,14 @@ static bool readOpcode(struct InternalInstruction *insn) {
|
||||
LLVM_DEBUG(dbgs() << format("Found a three-byte escape prefix (0x%hhx)",
|
||||
current));
|
||||
if (consume(insn, current))
|
||||
return -1;
|
||||
return true;
|
||||
|
||||
insn->opcodeType = THREEBYTE_38;
|
||||
} else if (current == 0x3a) {
|
||||
LLVM_DEBUG(dbgs() << format("Found a three-byte escape prefix (0x%hhx)",
|
||||
current));
|
||||
if (consume(insn, current))
|
||||
return -1;
|
||||
return true;
|
||||
|
||||
insn->opcodeType = THREEBYTE_3A;
|
||||
} else if (current == 0x0f) {
|
||||
|
Loading…
Reference in New Issue
Block a user