mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 06:33:21 +00:00
Don't replace the old Ordering object with a new one; just clear()
the old one. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106284 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c97df860dd
commit
27445f0375
@ -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…
x
Reference in New Issue
Block a user