diff options
author | Chris Lattner <sabre@nondot.org> | 2002-04-09 15:05:04 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-04-09 15:05:04 +0000 |
commit | 73c8d7520f8c7026153fd8d9ec9b7e00a57d0aa5 (patch) | |
tree | b990603256ef1b26ca95c7c01a18fa516e22448f /lib/Target | |
parent | dbc3b00df5bee8d082b9a74e2d21aac4f9671b1d (diff) |
Delete NOP instructions as they are eliminated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2199 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp b/lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp index a763f53ee8..fc88353547 100644 --- a/lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp +++ b/lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp @@ -130,6 +130,7 @@ void InsertPrologEpilogCode::InsertEpilogCode(Function *F) while (termMvec.back()->getOpCode() == NOP) { assert( termMvec.back() == bbMvec.back()); + delete termMvec.back(); termMvec.pop_back(); bbMvec.pop_back(); ++numNOPs; |