Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/asmjit/asmjit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsvost <svost@users.noreply.github.com>2018-11-22 15:07:03 +0300
committerPetr Kobalicek <kobalicek.petr@gmail.com>2018-11-22 15:07:03 +0300
commit3092065f148d951df281d3f0f1b4922e580b3930 (patch)
tree1d2268407c064fef5717684c5f4d5b996481e46d
parente53ff4267b6fd896ee50fb48687f3a03b0cbada9 (diff)
Fixed bug in instruction validation (#220)
-rw-r--r--src/asmjit/x86/x86instimpl.cpp2
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;
}