Fixed offset index predicate in arm::Mem::post() (#388)

This commit is contained in:
Herman Semenov
2022-11-04 08:54:19 +00:00
committed by GitHub
parent 8f2c237b83
commit ae63ced6dd

View File

@@ -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;
}