mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
[MSSA] Fix a bug in MemorySSA's move ctor.
Not a correctness issue, but it would be nice if we didn't have to recompute our block numbering (worst-case) every time we move MSSA. llvm-svn: 277652
This commit is contained in:
parent
b6bf4ff13e
commit
859253a79c
@ -1236,6 +1236,8 @@ MemorySSA::MemorySSA(MemorySSA &&MSSA)
|
|||||||
ValueToMemoryAccess(std::move(MSSA.ValueToMemoryAccess)),
|
ValueToMemoryAccess(std::move(MSSA.ValueToMemoryAccess)),
|
||||||
PerBlockAccesses(std::move(MSSA.PerBlockAccesses)),
|
PerBlockAccesses(std::move(MSSA.PerBlockAccesses)),
|
||||||
LiveOnEntryDef(std::move(MSSA.LiveOnEntryDef)),
|
LiveOnEntryDef(std::move(MSSA.LiveOnEntryDef)),
|
||||||
|
BlockNumberingValid(std::move(MSSA.BlockNumberingValid)),
|
||||||
|
BlockNumbering(std::move(MSSA.BlockNumbering)),
|
||||||
Walker(std::move(MSSA.Walker)), NextID(MSSA.NextID) {
|
Walker(std::move(MSSA.Walker)), NextID(MSSA.NextID) {
|
||||||
// Update the Walker MSSA pointer so it doesn't point to the moved-from MSSA
|
// Update the Walker MSSA pointer so it doesn't point to the moved-from MSSA
|
||||||
// object any more.
|
// object any more.
|
||||||
|
Loading…
Reference in New Issue
Block a user