Fix missing std::. Not sure how this compiles for anyone else.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 21 Mar 2013 00:57:21 +0000 (00:57 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 21 Mar 2013 00:57:21 +0000 (00:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177620 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MachineScheduler.cpp
lib/DebugInfo/DWARFDebugAranges.cpp

index 103b058c13a948405c53d128286dee1041578c6b..c872355e376bc78008f6dd2dd3882276f88aad84 100644 (file)
@@ -2182,7 +2182,7 @@ public:
   /// Callback to select the highest priority node from the ready Q.
   virtual SUnit *pickNode(bool &IsTopNode) {
     if (ReadyQ.empty()) return NULL;
-    pop_heap(ReadyQ.begin(), ReadyQ.end(), Cmp);
+    std::pop_heap(ReadyQ.begin(), ReadyQ.end(), Cmp);
     SUnit *SU = ReadyQ.back();
     ReadyQ.pop_back();
     IsTopNode = false;
index b077eb5e38d85065cca963eeed0312f1e68d024d..f79862d606f5618baae107a71330d683e7e32773 100644 (file)
@@ -186,7 +186,7 @@ uint32_t DWARFDebugAranges::findAddress(uint64_t address) const {
     Range range(address);
     RangeCollIterator begin = Aranges.begin();
     RangeCollIterator end = Aranges.end();
-    RangeCollIterator pos = lower_bound(begin, end, range, RangeLessThan);
+    RangeCollIterator pos = std::lower_bound(begin, end, range, RangeLessThan);
 
     if (pos != end && pos->LoPC <= address && address < pos->HiPC()) {
       return pos->Offset;