mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-01 15:40:46 +00:00
GCC 3.1 changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3076 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0c0edf8afc
commit
de32fedb8c
@ -131,7 +131,7 @@ class ReversePostOrderTraversal {
|
||||
copy(po_begin(BB), po_end(BB), back_inserter(Blocks));
|
||||
}
|
||||
public:
|
||||
typedef std::vector<NodeType*>::reverse_iterator rpo_iterator;
|
||||
typedef typename std::vector<NodeType*>::reverse_iterator rpo_iterator;
|
||||
|
||||
inline ReversePostOrderTraversal(GraphT G) {
|
||||
Initialize(GT::getEntryNode(G));
|
||||
|
@ -9,13 +9,20 @@
|
||||
|
||||
#ifndef SUPPORT_HASHSET_H
|
||||
#define SUPPORT_HASHSET_H
|
||||
|
||||
#if __GNUC__==3
|
||||
#include <ext/hash_set>
|
||||
#ifndef HASH_NAMESPACE
|
||||
#define HASH_NAMESPACE __gnu_cxx
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
#include <hash_set>
|
||||
#ifndef HASH_NAMESPACE
|
||||
#define HASH_NAMESPACE std
|
||||
#endif
|
||||
#endif
|
||||
|
||||
using HASH_NAMESPACE::hash_set;
|
||||
using HASH_NAMESPACE::hash;
|
||||
|
@ -131,7 +131,7 @@ class ReversePostOrderTraversal {
|
||||
copy(po_begin(BB), po_end(BB), back_inserter(Blocks));
|
||||
}
|
||||
public:
|
||||
typedef std::vector<NodeType*>::reverse_iterator rpo_iterator;
|
||||
typedef typename std::vector<NodeType*>::reverse_iterator rpo_iterator;
|
||||
|
||||
inline ReversePostOrderTraversal(GraphT G) {
|
||||
Initialize(GT::getEntryNode(G));
|
||||
|
Loading…
Reference in New Issue
Block a user