mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-03 09:14:30 +00:00
Add std prefixes to fix the build with xlc.
Patch by Kai <kai@redstar.de>. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177574 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f8ea5a5a27
commit
80c6a66bbf
@ -260,7 +260,7 @@ class ReversePostOrderTraversal {
|
|||||||
typedef typename GT::NodeType NodeType;
|
typedef typename GT::NodeType NodeType;
|
||||||
std::vector<NodeType*> Blocks; // Block list in normal PO order
|
std::vector<NodeType*> Blocks; // Block list in normal PO order
|
||||||
inline void Initialize(NodeType *BB) {
|
inline void Initialize(NodeType *BB) {
|
||||||
copy(po_begin(BB), po_end(BB), back_inserter(Blocks));
|
std::copy(po_begin(BB), po_end(BB), std::back_inserter(Blocks));
|
||||||
}
|
}
|
||||||
public:
|
public:
|
||||||
typedef typename std::vector<NodeType*>::reverse_iterator rpo_iterator;
|
typedef typename std::vector<NodeType*>::reverse_iterator rpo_iterator;
|
||||||
|
@ -271,7 +271,7 @@ class BlockFrequencyImpl {
|
|||||||
|
|
||||||
BlockT *EntryBlock = fn->begin();
|
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;
|
unsigned RPOidx = 0;
|
||||||
for (rpot_iterator I = rpot_begin(), E = rpot_end(); I != E; ++I) {
|
for (rpot_iterator I = rpot_begin(), E = rpot_end(); I != E; ++I) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user