Don't replace the old DbgInfo with a new one when clear() on the
old one is sufficient.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106283
91177308-0d34-0410-b5e6-
96231b3b80d8
SelectionDAG::~SelectionDAG() {
allnodes_clear();
delete Ordering;
SelectionDAG::~SelectionDAG() {
allnodes_clear();
delete Ordering;
delete Ordering;
Ordering = new SDNodeOrdering();
DbgInfo->clear();
delete Ordering;
Ordering = new SDNodeOrdering();
DbgInfo->clear();
- delete DbgInfo;
- DbgInfo = new SDDbgInfo();
}
SDValue SelectionDAG::getSExtOrTrunc(SDValue Op, DebugLoc DL, EVT VT) {
}
SDValue SelectionDAG::getSExtOrTrunc(SDValue Op, DebugLoc DL, EVT VT) {