mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-03 15:36:21 +00:00
Delete unused header file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4373 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
047bbafb99
commit
4b28abb57f
@ -1,37 +0,0 @@
|
||||
#ifndef REG_COLOR_MAP
|
||||
#define REG_COLOR_MAP
|
||||
|
||||
#include <hash_map>
|
||||
|
||||
|
||||
#ifndef VALUE_SET_H
|
||||
|
||||
struct hashFuncValue { // sturcture containing the hash func
|
||||
inline size_t operator () (const Value *const val) const
|
||||
{ return (size_t) val; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
typedef int RegColorType;
|
||||
|
||||
|
||||
class RegColorMap : hash_map <const Value *, RegColorType, hashFuncValue>
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
inline void setRegColor(const Value *const Val, RegColorType Col) {
|
||||
(*this)[Val] = Col;
|
||||
}
|
||||
|
||||
|
||||
inline RegColorType getRegColor(const Value *const Val) {
|
||||
return (*this)[Val];
|
||||
}
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user