iUse new form of pop_back to make code more concise

llvm-svn: 2202
This commit is contained in:
Chris Lattner 2002-04-09 18:02:02 +00:00
parent 99ac15d154
commit 6b17c83fb0
1 changed files with 1 additions and 2 deletions

View File

@ -130,9 +130,8 @@ void InsertPrologEpilogCode::InsertEpilogCode(Function *F)
while (termMvec.back()->getOpCode() == NOP)
{
assert( termMvec.back() == bbMvec.back());
delete termMvec.back();
delete bbMvec.pop_back();
termMvec.pop_back();
bbMvec.pop_back();
++numNOPs;
}
assert(termMvec.back() == bbMvec.back());