forked from OSchip/llvm-project
iUse new form of pop_back to make code more concise
llvm-svn: 2202
This commit is contained in:
parent
99ac15d154
commit
6b17c83fb0
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue