//
//------------------------------------------------------------------------
-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
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;
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;}
//
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;
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;}
//
class Function;
class Instruction;
-typedef std::hash_map<const Value*, LiveRange*> LiveRangeMapType;
+typedef hash_map<const Value*, LiveRange*> LiveRangeMapType;
typedef std::vector<MachineInstr*> CallRetInstrListType;
//----------------------------------------------------------------------------
class Function;
class Instruction;
-typedef std::hash_map<const Value*, LiveRange*> LiveRangeMapType;
+typedef hash_map<const Value*, LiveRange*> LiveRangeMapType;
typedef std::vector<MachineInstr*> CallRetInstrListType;
//----------------------------------------------------------------------------