diff options
Diffstat (limited to 'include/llvm/CodeGen/LiveVariables.h')
| -rw-r--r-- | include/llvm/CodeGen/LiveVariables.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/LiveVariables.h b/include/llvm/CodeGen/LiveVariables.h index bc210dda08c09..d6e947c03dbdc 100644 --- a/include/llvm/CodeGen/LiveVariables.h +++ b/include/llvm/CodeGen/LiveVariables.h @@ -92,8 +92,7 @@ public: /// machine instruction. Returns true if there was a kill /// corresponding to this instruction, false otherwise. bool removeKill(MachineInstr &MI) { - std::vector<MachineInstr *>::iterator I = - std::find(Kills.begin(), Kills.end(), &MI); + std::vector<MachineInstr *>::iterator I = find(Kills, &MI); if (I == Kills.end()) return false; Kills.erase(I); |
