From 1089790546ae7c5e8bcce99e60b19b3b23546bf3 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 24 Jul 2002 21:21:33 +0000 Subject: [PATCH] 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 --- include/llvm/CodeGen/InstrForest.h | 2 +- include/llvm/CodeGen/MachineCodeForMethod.h | 6 +++--- include/llvm/CodeGen/MachineFunction.h | 6 +++--- lib/CodeGen/RegAlloc/LiveRangeInfo.h | 2 +- lib/Target/SparcV9/RegAlloc/LiveRangeInfo.h | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/include/llvm/CodeGen/InstrForest.h b/include/llvm/CodeGen/InstrForest.h index 6242dd48f01..650dbddf162 100644 --- a/include/llvm/CodeGen/InstrForest.h +++ b/include/llvm/CodeGen/InstrForest.h @@ -247,7 +247,7 @@ protected: // //------------------------------------------------------------------------ -class InstrForest : private std::hash_map { +class InstrForest : private hash_map { 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 e1b8e4f1f59..742d4b5c0f8 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 constantsForConstPool; - std::hash_map offsets; + hash_set constantsForConstPool; + hash_map 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& + inline const hash_set& getConstantPoolValues() const {return constantsForConstPool;} // diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h index e1b8e4f1f59..742d4b5c0f8 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 constantsForConstPool; - std::hash_map offsets; + hash_set constantsForConstPool; + hash_map 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& + inline const hash_set& getConstantPoolValues() const {return constantsForConstPool;} // diff --git a/lib/CodeGen/RegAlloc/LiveRangeInfo.h b/lib/CodeGen/RegAlloc/LiveRangeInfo.h index 9fc3c64fe99..0ae5b341787 100644 --- a/lib/CodeGen/RegAlloc/LiveRangeInfo.h +++ b/lib/CodeGen/RegAlloc/LiveRangeInfo.h @@ -31,7 +31,7 @@ class Value; class Function; class Instruction; -typedef std::hash_map LiveRangeMapType; +typedef hash_map LiveRangeMapType; typedef std::vector CallRetInstrListType; //---------------------------------------------------------------------------- diff --git a/lib/Target/SparcV9/RegAlloc/LiveRangeInfo.h b/lib/Target/SparcV9/RegAlloc/LiveRangeInfo.h index 9fc3c64fe99..0ae5b341787 100644 --- a/lib/Target/SparcV9/RegAlloc/LiveRangeInfo.h +++ b/lib/Target/SparcV9/RegAlloc/LiveRangeInfo.h @@ -31,7 +31,7 @@ class Value; class Function; class Instruction; -typedef std::hash_map LiveRangeMapType; +typedef hash_map LiveRangeMapType; typedef std::vector CallRetInstrListType; //----------------------------------------------------------------------------