diff options
Diffstat (limited to 'src/arch/arm')
-rw-r--r-- | src/arch/arm/isa/includes.isa | 2 | ||||
-rw-r--r-- | src/arch/arm/types.hh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/arm/isa/includes.isa b/src/arch/arm/isa/includes.isa index bfd6fedd4..607a5c8b8 100644 --- a/src/arch/arm/isa/includes.isa +++ b/src/arch/arm/isa/includes.isa @@ -94,6 +94,6 @@ output exec {{ #include "sim/sim_exit.hh" using namespace ArmISA; -using std::isnan; + }}; diff --git a/src/arch/arm/types.hh b/src/arch/arm/types.hh index 15f9f4d0a..31dec7bcb 100644 --- a/src/arch/arm/types.hh +++ b/src/arch/arm/types.hh @@ -540,13 +540,13 @@ namespace ArmISA } // namespace ArmISA -namespace __hash_namespace { +__hash_namespace_begin template<> struct hash<ArmISA::ExtMachInst> : public hash<uint32_t> { size_t operator()(const ArmISA::ExtMachInst &emi) const { return hash<uint32_t>::operator()((uint32_t)emi); }; }; -} +__hash_namespace_end #endif |