Add recover_names pass to recover names post-mapping

This commit is contained in:
gatecat
2023-05-25 10:55:07 +02:00
committed by myrtle
parent 57c9eb70fe
commit 52c8c28d2c
3 changed files with 737 additions and 0 deletions
+6
View File
@@ -84,6 +84,12 @@ template<> struct hash_ops<int64_t> : hash_int_ops
return mkhash((unsigned int)(a), (unsigned int)(a >> 32));
}
};
template<> struct hash_ops<uint32_t> : hash_int_ops
{
static inline unsigned int hash(uint32_t a) {
return a;
}
};
template<> struct hash_ops<std::string> {
static inline bool cmp(const std::string &a, const std::string &b) {