commit | 3e9ad4d8e6d33b1ca23c9db4f05823030ceddd5a | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Mon Jul 21 18:47:29 2008 +0000 |
committer | Dan Gohman <gohman@apple.com> | Mon Jul 21 18:47:29 2008 +0000 |
tree | 238bc07b880e91d2a1d146b5e0715cacfa485576 | |
parent | ab60ba19da57f1e30ccc27fa06e4b3e7909c5009 [diff] [blame] |
Now that the MachineInstr leaks are fixed, enable leak checking in the MachineInstr clone code. llvm-svn: 53868
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp index 65e5976..d577582 100644 --- a/llvm/lib/CodeGen/MachineInstr.cpp +++ b/llvm/lib/CodeGen/MachineInstr.cpp
@@ -328,6 +328,8 @@ // Set parent to null. Parent = 0; + + LeakDetector::addGarbageObject(this); } MachineInstr::~MachineInstr() {