diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-07-24 21:21:33 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-07-24 21:21:33 +0000 |
| commit | e583333ec901fefca61e159782a69cfa5fdb0bfb (patch) | |
| tree | 7242b505d5f3542b4f6ac01f9c08028e72bb277f /llvm | |
| parent | e98dd5fcac8f2c11c90bc8edb14d939a653a8874 (diff) | |
| download | bcm5719-llvm-e583333ec901fefca61e159782a69cfa5fdb0bfb.tar.gz bcm5719-llvm-e583333ec901fefca61e159782a69cfa5fdb0bfb.zip | |
Non-standard hash classes are not in the std:: namespace
llvm-svn: 3057
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/CodeGen/InstrForest.h | 2 | ||||
| -rw-r--r-- | llvm/include/llvm/CodeGen/MachineCodeForMethod.h | 6 | ||||
| -rw-r--r-- | llvm/include/llvm/CodeGen/MachineFunction.h | 6 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.h | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/llvm/include/llvm/CodeGen/InstrForest.h b/llvm/include/llvm/CodeGen/InstrForest.h index 6242dd48f01..650dbddf162 100644 --- a/llvm/include/llvm/CodeGen/InstrForest.h +++ b/llvm/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/llvm/include/llvm/CodeGen/MachineCodeForMethod.h b/llvm/include/llvm/CodeGen/MachineCodeForMethod.h index e1b8e4f1f59..742d4b5c0f8 100644 --- a/llvm/include/llvm/CodeGen/MachineCodeForMethod.h +++ b/llvm/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/llvm/include/llvm/CodeGen/MachineFunction.h b/llvm/include/llvm/CodeGen/MachineFunction.h index e1b8e4f1f59..742d4b5c0f8 100644 --- a/llvm/include/llvm/CodeGen/MachineFunction.h +++ b/llvm/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;} // diff --git a/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.h b/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.h index 9fc3c64fe99..0ae5b341787 100644 --- a/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.h +++ b/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.h @@ -31,7 +31,7 @@ class Value; class Function; class Instruction; -typedef std::hash_map<const Value*, LiveRange*> LiveRangeMapType; +typedef hash_map<const Value*, LiveRange*> LiveRangeMapType; typedef std::vector<MachineInstr*> CallRetInstrListType; //---------------------------------------------------------------------------- |

