backend/arm64/reg_alloc: RAReg is non-copyable and non-moveable
This commit is contained in:
parent
3a3b43b963
commit
f74a5f262f
1 changed files with 5 additions and 0 deletions
|
@ -105,6 +105,11 @@ private:
|
||||||
explicit RAReg(RegAlloc& reg_alloc, bool write, const IR::Inst* value)
|
explicit RAReg(RegAlloc& reg_alloc, bool write, const IR::Inst* value)
|
||||||
: reg_alloc{reg_alloc}, write{write}, value{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();
|
void Realize();
|
||||||
|
|
||||||
RegAlloc& reg_alloc;
|
RegAlloc& reg_alloc;
|
||||||
|
|
Loading…
Reference in a new issue