summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-07-17 23:49:46 +0000
committerDan Gohman <gohman@apple.com>2008-07-17 23:49:46 +0000
commit2c3f7ae3843bdc9dcfe85393e178211976c1f9bd (patch)
tree931e028b14e487fd6d424fd5666f5559ac11e12e /include
parentdc5f936bf898a945b7b5a823d00ef9b336f2dc6a (diff)
downloadllvm-2c3f7ae3843bdc9dcfe85393e178211976c1f9bd.tar.gz
llvm-2c3f7ae3843bdc9dcfe85393e178211976c1f9bd.tar.bz2
llvm-2c3f7ae3843bdc9dcfe85393e178211976c1f9bd.tar.xz
Re-introduce LeakDetector support for MachineInstrs and MachineBasicBlocks.
Fix a leak that this turned up in LowerSubregs.cpp. And, comment a leak in LiveIntervalAnalysis.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53746 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/MachineBasicBlock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineBasicBlock.h b/include/llvm/CodeGen/MachineBasicBlock.h
index 6958dba271..f0f9d54af5 100644
--- a/include/llvm/CodeGen/MachineBasicBlock.h
+++ b/include/llvm/CodeGen/MachineBasicBlock.h
@@ -67,7 +67,7 @@ class MachineBasicBlock {
explicit MachineBasicBlock(MachineFunction &mf, const BasicBlock *bb);
- ~MachineBasicBlock() {}
+ ~MachineBasicBlock();
// MachineBasicBlocks are allocated and owned by MachineFunction.
friend class MachineFunction;