Now that the MachineInstr leaks are fixed, enable leak checking

in the MachineInstr clone code.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53868 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2008-07-21 18:47:29 +00:00
parent 318a511495
commit 6116a73da4

View File

@ -328,6 +328,8 @@ MachineInstr::MachineInstr(MachineFunction &MF, const MachineInstr &MI)
// Set parent to null. // Set parent to null.
Parent = 0; Parent = 0;
LeakDetector::addGarbageObject(this);
} }
MachineInstr::~MachineInstr() { MachineInstr::~MachineInstr() {