commit | 8de6d22392196842f78cfca89ac22d5eccf3c6ab | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Thu Aug 14 18:13:49 2008 +0000 |
committer | Dan Gohman <gohman@apple.com> | Thu Aug 14 18:13:49 2008 +0000 |
tree | 457f54306be85c5a26837780eb7d7646816a4f94 | |
parent | 4801bd41cf2a3491f21dbd526dc91346e4d54c05 [diff] [blame] |
Use empty() instead of begin() == end(). llvm-svn: 54780
diff --git a/llvm/lib/CodeGen/StrongPHIElimination.cpp b/llvm/lib/CodeGen/StrongPHIElimination.cpp index 37f54ce..9f59417 100644 --- a/llvm/lib/CodeGen/StrongPHIElimination.cpp +++ b/llvm/lib/CodeGen/StrongPHIElimination.cpp
@@ -848,7 +848,7 @@ RHS.removeValNo(*VI); } - if (RHS.begin() == RHS.end()) + if (RHS.empty()) LI.removeInterval(RHS.reg); }