Now that the MachineInstr leaks are fixed, enable leak checking

in the MachineInstr clone code.

llvm-svn: 53868
This commit is contained in:
Dan Gohman 2008-07-21 18:47:29 +00:00
parent 172aebf7b0
commit 8f718c75f0

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() {