mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 15:48:38 +00:00
Now that the MachineInstr leaks are fixed, enable leak checking
in the MachineInstr clone code. llvm-svn: 53868
This commit is contained in:
parent
172aebf7b0
commit
8f718c75f0
@ -328,6 +328,8 @@ MachineInstr::MachineInstr(MachineFunction &MF, const MachineInstr &MI)
|
||||
|
||||
// Set parent to null.
|
||||
Parent = 0;
|
||||
|
||||
LeakDetector::addGarbageObject(this);
|
||||
}
|
||||
|
||||
MachineInstr::~MachineInstr() {
|
||||
|
Loading…
Reference in New Issue
Block a user