X86Assembler: bugfix in checking parameters of the outs instructions (#180)

This commit is contained in:
fthielke
2017-11-01 14:22:06 +01:00
committed by Petr Kobalicek
parent 082a395dfd
commit 802c6a037f

View File

@@ -1667,7 +1667,7 @@ CaseX86M_GPB_MulDiv:
case X86Inst::kEncodingX86Outs:
if (isign3 == ENC_OPS2(Reg, Mem)) {
if (ASMJIT_UNLIKELY(o0.getId() != X86Gp::kIdDx), !x86IsImplicitMem(o1, X86Gp::kIdSi))
if (ASMJIT_UNLIKELY(o0.getId() != X86Gp::kIdDx || !x86IsImplicitMem(o1, X86Gp::kIdSi)))
goto InvalidInstruction;
uint32_t size = o1.getSize();