diff options
| author | Chris Lattner <sabre@nondot.org> | 2003-12-20 10:12:17 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2003-12-20 10:12:17 +0000 |
| commit | af4304f807c87c40d1d97023c1443a5dd811e631 (patch) | |
| tree | 4b2133c6c6dce3f63ef9f7d8eea86d1d57983144 /llvm/lib/Target/X86/FloatingPoint.cpp | |
| parent | d46cd6869503cb5ad58d62b08b24f652feb18522 (diff) | |
| download | bcm5719-llvm-af4304f807c87c40d1d97023c1443a5dd811e631.tar.gz bcm5719-llvm-af4304f807c87c40d1d97023c1443a5dd811e631.zip | |
Fix memory leak in the stackifier, due to the machinebasicblocks not holding
instructions on an ilist
llvm-svn: 10556
Diffstat (limited to 'llvm/lib/Target/X86/FloatingPoint.cpp')
| -rw-r--r-- | llvm/lib/Target/X86/FloatingPoint.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/FloatingPoint.cpp b/llvm/lib/Target/X86/FloatingPoint.cpp index 7bc1f728f89..b8934769965 100644 --- a/llvm/lib/Target/X86/FloatingPoint.cpp +++ b/llvm/lib/Target/X86/FloatingPoint.cpp @@ -601,6 +601,7 @@ void FPS::handleSpecialFP(MachineBasicBlock::iterator &I) { } I = MBB->erase(I)-1; // Remove the pseudo instruction + delete MI; } namespace { |

