mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 20:12:56 +02:00
Don't replace the old Ordering object with a new one; just clear()
the old one. llvm-svn: 106284
This commit is contained in:
parent
d3b13d1a68
commit
6670a7edea
@ -833,8 +833,7 @@ void SelectionDAG::clear() {
|
||||
EntryNode.UseList = 0;
|
||||
AllNodes.push_back(&EntryNode);
|
||||
Root = getEntryNode();
|
||||
delete Ordering;
|
||||
Ordering = new SDNodeOrdering();
|
||||
Ordering->clear();
|
||||
DbgInfo->clear();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user