projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27253f5
)
Fix the build after r185363. Use llvm::next instead of raw next.
author
Cameron Zwarich
<zwarich@apple.com>
Mon, 1 Jul 2013 19:49:48 +0000
(19:49 +0000)
committer
Cameron Zwarich
<zwarich@apple.com>
Mon, 1 Jul 2013 19:49:48 +0000
(19:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185367
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/PHIElimination.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/PHIElimination.cpp
b/lib/CodeGen/PHIElimination.cpp
index 985967e55aa7c255fc6c9ac21b4aa38aa7f4fc19..bf23ecac4db9f80884f0794d86c78c291bab6a11 100644
(file)
--- a/
lib/CodeGen/PHIElimination.cpp
+++ b/
lib/CodeGen/PHIElimination.cpp
@@
-222,7
+222,7
@@
void PHIElimination::LowerPHINode(MachineBasicBlock &MBB,
MachineBasicBlock::iterator LastPHIIt) {
++NumLowered;
- MachineBasicBlock::iterator AfterPHIsIt = next(LastPHIIt);
+ MachineBasicBlock::iterator AfterPHIsIt =
llvm::
next(LastPHIIt);
// Unlink the PHI node from the basic block, but don't delete the PHI yet.
MachineInstr *MPhi = MBB.remove(MBB.begin());