diff options
author | svost <svost@users.noreply.github.com> | 2018-11-22 15:07:03 +0300 |
---|---|---|
committer | Petr Kobalicek <kobalicek.petr@gmail.com> | 2018-11-22 15:07:03 +0300 |
commit | 3092065f148d951df281d3f0f1b4922e580b3930 (patch) | |
tree | 1d2268407c064fef5717684c5f4d5b996481e46d | |
parent | e53ff4267b6fd896ee50fb48687f3a03b0cbada9 (diff) |
Fixed bug in instruction validation (#220)
-rw-r--r-- | src/asmjit/x86/x86instimpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |