mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 18:06:49 +00:00
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:
parent
318a511495
commit
6116a73da4
@ -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