projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
318a511
)
Now that the MachineInstr leaks are fixed, enable leak checking
author
Dan Gohman
<gohman@apple.com>
Mon, 21 Jul 2008 18:47:29 +0000
(18:47 +0000)
committer
Dan Gohman
<gohman@apple.com>
Mon, 21 Jul 2008 18:47:29 +0000
(18:47 +0000)
in the MachineInstr clone code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53868
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineInstr.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineInstr.cpp
b/lib/CodeGen/MachineInstr.cpp
index 65e59764530a8e38ba08ddef0e7d755f17eef987..d57758263700233a45f093869b65b00d14853475 100644
(file)
--- a/
lib/CodeGen/MachineInstr.cpp
+++ b/
lib/CodeGen/MachineInstr.cpp
@@
-328,6
+328,8
@@
MachineInstr::MachineInstr(MachineFunction &MF, const MachineInstr &MI)
// Set parent to null.
Parent = 0;
+
+ LeakDetector::addGarbageObject(this);
}
MachineInstr::~MachineInstr() {