From 3092065f148d951df281d3f0f1b4922e580b3930 Mon Sep 17 00:00:00 2001 From: svost Date: Thu, 22 Nov 2018 15:07:03 +0300 Subject: [PATCH] Fixed bug in instruction validation (#220) --- src/asmjit/x86/x86instimpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asmjit/x86/x86instimpl.cpp b/src/asmjit/x86/x86instimpl.cpp index a45fbed..f5f1877 100644 --- a/src/asmjit/x86/x86instimpl.cpp +++ b/src/asmjit/x86/x86instimpl.cpp @@ -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; }