-
-struct hashFuncMInst { // sturcture containing the hash function for MInst
- inline size_t operator () (const MachineInstr *val) const {
- return (size_t) val;
- }
-};
-
-
-struct hashFuncBB { // sturcture containing the hash function for BB
- inline size_t operator () (const BasicBlock *val) const {
- return (size_t) val;
- }
-};
-
-
-
-
-typedef std::hash_map<const BasicBlock *,
- BBLiveVar *, hashFuncBB > BBToBBLiveVarMapType;
-
-typedef std::hash_map<const MachineInstr *, const LiveVarSet *,
- hashFuncMInst> MInstToLiveVarSetMapType;
-
+typedef std::hash_map<const BasicBlock *, BBLiveVar *> BBToBBLiveVarMapType;
+typedef std::hash_map<const MachineInstr *, const LiveVarSet *> MInstToLiveVarSetMapType;