diff options
author | Dan Gohman <gohman@apple.com> | 2008-07-17 23:49:46 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-07-17 23:49:46 +0000 |
commit | 2c3f7ae3843bdc9dcfe85393e178211976c1f9bd (patch) | |
tree | 931e028b14e487fd6d424fd5666f5559ac11e12e /include | |
parent | dc5f936bf898a945b7b5a823d00ef9b336f2dc6a (diff) | |
download | external_llvm-2c3f7ae3843bdc9dcfe85393e178211976c1f9bd.zip external_llvm-2c3f7ae3843bdc9dcfe85393e178211976c1f9bd.tar.gz external_llvm-2c3f7ae3843bdc9dcfe85393e178211976c1f9bd.tar.bz2 |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineBasicBlock.h b/include/llvm/CodeGen/MachineBasicBlock.h index 6958dba..f0f9d54 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; |