Changes to be GCC 3.1 friendly

llvm-svn: 3184
This commit is contained in:
Chris Lattner 2002-07-31 19:31:59 +00:00
parent 395c27ae39
commit edefd157a7
2 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@
#include "llvm/Pass.h" #include "llvm/Pass.h"
#include "llvm/GlobalValue.h" #include "llvm/GlobalValue.h"
#include "Support/HashExtras.h" #include "Support/HashExtras.h"
#include "Support/hash_set"
#include <set> #include <set>
#include <hash_set>
#include <string> #include <string>
class Type; class Type;

View File

@ -142,7 +142,7 @@ template<class Payload>
class InstForest : public std::vector<InstTreeNode<Payload> *> { class InstForest : public std::vector<InstTreeNode<Payload> *> {
friend class InstTreeNode<Payload>; friend class InstTreeNode<Payload>;
typedef std::vector<InstTreeNode<Payload> *>::const_iterator const_iterator; typedef typename std::vector<InstTreeNode<Payload> *>::const_iterator const_iterator;
// InstMap - Map contains entries for ALL instructions in the method and the // InstMap - Map contains entries for ALL instructions in the method and the
// InstTreeNode that they correspond to. // InstTreeNode that they correspond to.