From f74a5f262f8c27731f2dbf81103ca4103e81a74d Mon Sep 17 00:00:00 2001 From: Merry Date: Sat, 23 Jul 2022 19:05:56 +0100 Subject: [PATCH] backend/arm64/reg_alloc: RAReg is non-copyable and non-moveable --- src/dynarmic/backend/arm64/reg_alloc.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/dynarmic/backend/arm64/reg_alloc.h b/src/dynarmic/backend/arm64/reg_alloc.h index bd79f6d7..a39e804e 100644 --- a/src/dynarmic/backend/arm64/reg_alloc.h +++ b/src/dynarmic/backend/arm64/reg_alloc.h @@ -105,6 +105,11 @@ private: explicit RAReg(RegAlloc& reg_alloc, bool write, const IR::Inst* value) : reg_alloc{reg_alloc}, write{write}, value{value} {} + RAReg(const RAReg&) = delete; + RAReg& operator=(const RAReg&) = delete; + RAReg(RAReg&&) = delete; + RAReg& operator=(RAReg&&) = delete; + void Realize(); RegAlloc& reg_alloc;