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:
authorHerman Semenov <GermanAizek@yandex.ru>2022-11-04 11:54:19 +0300
committerGitHub <noreply@github.com>2022-11-04 11:54:19 +0300
commitae63ced6dd3bc281a959edd32704b27778622be0 (patch)
treeb80e6245a0b7cb7d7f9318ad959bcd74e6dfd8bf
parent8f2c237b8315a7d662e0e67d06807296a7bbe5ab (diff)
Fixed offset index predicate in arm::Mem::post() (#388)
-rw-r--r--src/asmjit/arm/armoperand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asmjit/arm/armoperand.h b/src/asmjit/arm/armoperand.h
index 8d5435f..a6322a0 100644
--- a/src/asmjit/arm/armoperand.h
+++ b/src/asmjit/arm/armoperand.h
@@ -486,7 +486,7 @@ public:
//! Clones the memory operand and makes it post-index.
inline Mem post() const noexcept {
Mem result(*this);
- result.setPredicate(kOffsetPreIndex);
+ result.setPredicate(kOffsetPostIndex);
return result;
}