From ae63ced6dd3bc281a959edd32704b27778622be0 Mon Sep 17 00:00:00 2001 From: Herman Semenov Date: Fri, 4 Nov 2022 08:54:19 +0000 Subject: [PATCH] Fixed offset index predicate in arm::Mem::post() (#388) --- src/asmjit/arm/armoperand.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }