Add std prefixes to fix the build with xlc.
[oota-llvm.git] / include / llvm / Analysis / BlockFrequencyImpl.h
index f220c582449f8aff7558a8d75364b50f69567516..b3e2d18eb2c6e3002b7662cc1c47f27be6fd4af8 100644 (file)
@@ -271,7 +271,7 @@ class BlockFrequencyImpl {
 
     BlockT *EntryBlock = fn->begin();
 
-    copy(po_begin(EntryBlock), po_end(EntryBlock), back_inserter(POT));
+    std::copy(po_begin(EntryBlock), po_end(EntryBlock), std::back_inserter(POT));
 
     unsigned RPOidx = 0;
     for (rpot_iterator I = rpot_begin(), E = rpot_end(); I != E; ++I) {