aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-07-24 21:21:33 +0000
committerChris Lattner <sabre@nondot.org>2002-07-24 21:21:33 +0000
commit1089790546ae7c5e8bcce99e60b19b3b23546bf3 (patch)
tree34a90d36995d43e23e5cf982b8be7bc8e5b8ab7e /include
parent09ff1126dab045d68be7d9e8ae7ad0601002a718 (diff)
downloadexternal_llvm-1089790546ae7c5e8bcce99e60b19b3b23546bf3.zip
external_llvm-1089790546ae7c5e8bcce99e60b19b3b23546bf3.tar.gz
external_llvm-1089790546ae7c5e8bcce99e60b19b3b23546bf3.tar.bz2
Non-standard hash classes are not in the std:: namespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3057 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/InstrForest.h2
-rw-r--r--include/llvm/CodeGen/MachineCodeForMethod.h6
-rw-r--r--include/llvm/CodeGen/MachineFunction.h6
3 files changed, 7 insertions, 7 deletions
diff --git a/include/llvm/CodeGen/InstrForest.h b/include/llvm/CodeGen/InstrForest.h
index 6242dd4..650dbdd 100644
--- a/include/llvm/CodeGen/InstrForest.h
+++ b/include/llvm/CodeGen/InstrForest.h
@@ -247,7 +247,7 @@ protected:
//
//------------------------------------------------------------------------
-class InstrForest : private std::hash_map<const Instruction *, InstructionNode*> {
+class InstrForest : private hash_map<const Instruction *, InstructionNode*> {
public:
// Use a vector for the root set to get a deterministic iterator
// for stable code generation. Even though we need to erase nodes
diff --git a/include/llvm/CodeGen/MachineCodeForMethod.h b/include/llvm/CodeGen/MachineCodeForMethod.h
index e1b8e4f..742d4b5 100644
--- a/include/llvm/CodeGen/MachineCodeForMethod.h
+++ b/include/llvm/CodeGen/MachineCodeForMethod.h
@@ -21,8 +21,8 @@ class TargetMachine;
class MachineCodeForMethod : private Annotation {
- std::hash_set<const Constant*> constantsForConstPool;
- std::hash_map<const Value*, int> offsets;
+ hash_set<const Constant*> constantsForConstPool;
+ hash_map<const Value*, int> offsets;
const Function* method;
unsigned staticStackSize;
unsigned automaticVarsSize;
@@ -60,7 +60,7 @@ public:
inline unsigned getRegSpillsSize() const { return regSpillsSize; }
inline unsigned getMaxOptionalArgsSize() const { return maxOptionalArgsSize;}
inline unsigned getMaxOptionalNumArgs() const { return maxOptionalNumArgs;}
- inline const std::hash_set<const Constant*>&
+ inline const hash_set<const Constant*>&
getConstantPoolValues() const {return constantsForConstPool;}
//
diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h
index e1b8e4f..742d4b5 100644
--- a/include/llvm/CodeGen/MachineFunction.h
+++ b/include/llvm/CodeGen/MachineFunction.h
@@ -21,8 +21,8 @@ class TargetMachine;
class MachineCodeForMethod : private Annotation {
- std::hash_set<const Constant*> constantsForConstPool;
- std::hash_map<const Value*, int> offsets;
+ hash_set<const Constant*> constantsForConstPool;
+ hash_map<const Value*, int> offsets;
const Function* method;
unsigned staticStackSize;
unsigned automaticVarsSize;
@@ -60,7 +60,7 @@ public:
inline unsigned getRegSpillsSize() const { return regSpillsSize; }
inline unsigned getMaxOptionalArgsSize() const { return maxOptionalArgsSize;}
inline unsigned getMaxOptionalNumArgs() const { return maxOptionalNumArgs;}
- inline const std::hash_set<const Constant*>&
+ inline const hash_set<const Constant*>&
getConstantPoolValues() const {return constantsForConstPool;}
//