diff options
| author | Dan Gohman <gohman@apple.com> | 2008-08-14 18:13:49 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2008-08-14 18:13:49 +0000 |
| commit | 8de6d22392196842f78cfca89ac22d5eccf3c6ab (patch) | |
| tree | 457f54306be85c5a26837780eb7d7646816a4f94 /llvm/lib/CodeGen/StrongPHIElimination.cpp | |
| parent | 4801bd41cf2a3491f21dbd526dc91346e4d54c05 (diff) | |
| download | bcm5719-llvm-8de6d22392196842f78cfca89ac22d5eccf3c6ab.tar.gz bcm5719-llvm-8de6d22392196842f78cfca89ac22d5eccf3c6ab.zip | |
Use empty() instead of begin() == end().
llvm-svn: 54780
Diffstat (limited to 'llvm/lib/CodeGen/StrongPHIElimination.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/StrongPHIElimination.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/StrongPHIElimination.cpp b/llvm/lib/CodeGen/StrongPHIElimination.cpp index 37f54ce93a7..9f59417b5dc 100644 --- a/llvm/lib/CodeGen/StrongPHIElimination.cpp +++ b/llvm/lib/CodeGen/StrongPHIElimination.cpp @@ -848,7 +848,7 @@ void StrongPHIElimination::mergeLiveIntervals(unsigned primary, RHS.removeValNo(*VI); } - if (RHS.begin() == RHS.end()) + if (RHS.empty()) LI.removeInterval(RHS.reg); } |

