diff --git a/src/arch/arm/types.hh b/src/arch/arm/types.hh index 7b736492b8..14cce8294a 100644 --- a/src/arch/arm/types.hh +++ b/src/arch/arm/types.hh @@ -727,12 +727,17 @@ namespace ArmISA } // namespace ArmISA __hash_namespace_begin - template<> - struct hash : public hash { - size_t operator()(const ArmISA::ExtMachInst &emi) const { - return hash::operator()((uint32_t)emi); - }; - }; + +template<> +struct hash : + public hash { + + size_t operator()(const ArmISA::ExtMachInst &emi) const { + return hash::operator()(emi); + } + +}; + __hash_namespace_end #endif