summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2013-03-21 00:57:21 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2013-03-21 00:57:21 +0000
commit4ab769f4b322a1cef901522a2527f35940bde004 (patch)
treefad148ef1b2aece1d772480e4c95ec1355fdc08a /llvm/lib/CodeGen/MachineScheduler.cpp
parent6b6a161ccfe252b6c167b3a580b42aea0c4e10ab (diff)
downloadbcm5719-llvm-4ab769f4b322a1cef901522a2527f35940bde004.tar.gz
bcm5719-llvm-4ab769f4b322a1cef901522a2527f35940bde004.zip
Fix missing std::. Not sure how this compiles for anyone else.
llvm-svn: 177620
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineScheduler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp
index 103b058c13a..c872355e376 100644
--- a/llvm/lib/CodeGen/MachineScheduler.cpp
+++ b/llvm/lib/CodeGen/MachineScheduler.cpp
@@ -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;
OpenPOWER on IntegriCloud