diff options
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp index 5d6e7f1..0ff0e7d 100644 --- a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp +++ b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp @@ -486,8 +486,7 @@ public: // Is there a variable that wants a location for this value? If not, skip. ValueLocPair Probe(VNum, LocationAndQuality()); - auto VIt = std::lower_bound(ValueToLoc.begin(), ValueToLoc.end(), Probe, - ValueToLocSort); + auto VIt = llvm::lower_bound(ValueToLoc, Probe, ValueToLocSort); if (VIt == ValueToLoc.end() || VIt->first != VNum) continue; |