mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-25 18:32:58 +00:00
arm_types: Specialize std::hash for LocationDescriptor (#14)
Same thing, but with the benefit of working with anything that uses std::hash by default.
This commit is contained in:
@@ -81,9 +81,9 @@ private:
|
||||
Jit* jit_interface;
|
||||
std::unordered_map<u64, CodePtr> unique_hash_to_code_ptr;
|
||||
std::unordered_map<u64, std::vector<CodePtr>> patch_unique_hash_locations;
|
||||
std::unordered_map<Arm::LocationDescriptor, BlockDescriptor, Arm::LocationDescriptorHash> basic_blocks;
|
||||
std::unordered_map<Arm::LocationDescriptor, std::vector<CodePtr>, Arm::LocationDescriptorHash> patch_jg_locations;
|
||||
std::unordered_map<Arm::LocationDescriptor, std::vector<CodePtr>, Arm::LocationDescriptorHash> patch_jmp_locations;
|
||||
std::unordered_map<Arm::LocationDescriptor, BlockDescriptor> basic_blocks;
|
||||
std::unordered_map<Arm::LocationDescriptor, std::vector<CodePtr>> patch_jg_locations;
|
||||
std::unordered_map<Arm::LocationDescriptor, std::vector<CodePtr>> patch_jmp_locations;
|
||||
};
|
||||
|
||||
} // namespace BackendX64
|
||||
|
||||
Reference in New Issue
Block a user