Fixed bug in instruction validation (#220)

This commit is contained in:
svost
2018-11-22 15:07:03 +03:00
committed by Petr Kobalicek
parent e53ff4267b
commit 3092065f14

View File

@@ -132,7 +132,7 @@ static ASMJIT_INLINE bool x86CheckOSig(const X86Inst::OSignature& op, const X86I
if ((refMemFlags & opMemFlags) == 0)
return false;
if ((refMemFlags & X86Inst::kMemOpBaseOnly) && !(opMemFlags && X86Inst::kMemOpBaseOnly))
if ((refMemFlags & X86Inst::kMemOpBaseOnly) && !(opMemFlags & X86Inst::kMemOpBaseOnly))
return false;
}