forked from OSchip/llvm-project
Delete NOP instructions as they are eliminated.
llvm-svn: 2199
This commit is contained in:
parent
d4f70f5790
commit
c71deb8412
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue