mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +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