commit | af4304f807c87c40d1d97023c1443a5dd811e631 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Dec 20 10:12:17 2003 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Dec 20 10:12:17 2003 +0000 |
tree | 4b2133c6c6dce3f63ef9f7d8eea86d1d57983144 | |
parent | d46cd6869503cb5ad58d62b08b24f652feb18522 [diff] [blame] |
Fix memory leak in the stackifier, due to the machinebasicblocks not holding instructions on an ilist llvm-svn: 10556
diff --git a/llvm/lib/Target/X86/FloatingPoint.cpp b/llvm/lib/Target/X86/FloatingPoint.cpp index 7bc1f72..b893476 100644 --- a/llvm/lib/Target/X86/FloatingPoint.cpp +++ b/llvm/lib/Target/X86/FloatingPoint.cpp
@@ -601,6 +601,7 @@ } I = MBB->erase(I)-1; // Remove the pseudo instruction + delete MI; } namespace {