projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
improve comment.
[oota-llvm.git]
/
lib
/
Transforms
/
Utils
/
CloneLoop.cpp
diff --git
a/lib/Transforms/Utils/CloneLoop.cpp
b/lib/Transforms/Utils/CloneLoop.cpp
index a0306ffa527232f2d7e8e1ca1d94c2aeeffe6374..7e000a1a75fe660b8170238bcfabbf64b6dce7d8 100644
(file)
--- a/
lib/Transforms/Utils/CloneLoop.cpp
+++ b/
lib/Transforms/Utils/CloneLoop.cpp
@@
-92,8
+92,7
@@
Loop *llvm::CloneLoop(Loop *OrigL, LPPassManager *LPM, LoopInfo *LI,
Loop *NewParentLoop = NULL;
while (!LoopNest.empty()) {
- Loop *L = LoopNest.back();
- LoopNest.pop_back();
+ Loop *L = LoopNest.pop_back_val();
Loop *NewLoop = new Loop();
if (!NewParentLoop)