mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-15 20:51:35 +00: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
2aadad7243
commit
363da6f589
@ -1236,6 +1236,8 @@ MemorySSA::MemorySSA(MemorySSA &&MSSA)
|
||||
ValueToMemoryAccess(std::move(MSSA.ValueToMemoryAccess)),
|
||||
PerBlockAccesses(std::move(MSSA.PerBlockAccesses)),
|
||||
LiveOnEntryDef(std::move(MSSA.LiveOnEntryDef)),
|
||||
BlockNumberingValid(std::move(MSSA.BlockNumberingValid)),
|
||||
BlockNumbering(std::move(MSSA.BlockNumbering)),
|
||||
Walker(std::move(MSSA.Walker)), NextID(MSSA.NextID) {
|
||||
// Update the Walker MSSA pointer so it doesn't point to the moved-from MSSA
|
||||
// object any more.
|
||||
|
Loading…
x
Reference in New Issue
Block a user