commit | 9068574a290235ba5d4d6b6619b5d5527e1bad2c | [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 | 190083aaaaaed1792ed4697deae9213b37d91fa0 | |
parent | f2e49d4c1a8839f30e8ca9617139d63db173fa80 [diff] [blame] |
Fix memory leak in the stackifier, due to the machinebasicblocks not holding instructions on an ilist git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10556 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86FloatingPoint.cpp b/lib/Target/X86/X86FloatingPoint.cpp index 7bc1f72..b893476 100644 --- a/lib/Target/X86/X86FloatingPoint.cpp +++ b/lib/Target/X86/X86FloatingPoint.cpp
@@ -601,6 +601,7 @@ } I = MBB->erase(I)-1; // Remove the pseudo instruction + delete MI; } namespace {