diff options
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp index 0ff0e7d..a1fd5a7 100644 --- a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp +++ b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp @@ -386,8 +386,8 @@ public: // for it. Use an empty ValueLocPair to search for an entry in ValueToLoc. const ValueIDNum &Num = Op.ID; ValueLocPair Probe(Num, LocationAndQuality()); - auto ValuesPreferredLoc = std::lower_bound( - ValueToLoc.begin(), ValueToLoc.end(), Probe, ValueToLocSort); + auto ValuesPreferredLoc = + llvm::lower_bound(ValueToLoc, Probe, ValueToLocSort); // There must be a legitimate entry found for Num. assert(ValuesPreferredLoc != ValueToLoc.end() && |