From 0dd1f7f01a8a744811aede5814111b8681271a6b Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 14 Sep 2010 00:29:38 -0700 Subject: CPU: Trim unnecessary includes from some common files. This reduces the scope of those includes and makes it less likely for there to be a dependency loop. This also moves the hashing functions associated with ExtMachInst objects to be with the ExtMachInst definitions and out of utility.hh. --- src/arch/arm/utility.hh | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/arch/arm/utility.hh') diff --git a/src/arch/arm/utility.hh b/src/arch/arm/utility.hh index 2a30c5de2..7d9365ab6 100644 --- a/src/arch/arm/utility.hh +++ b/src/arch/arm/utility.hh @@ -47,21 +47,11 @@ #include "arch/arm/miscregs.hh" #include "arch/arm/types.hh" -#include "base/hashmap.hh" #include "base/misc.hh" #include "base/trace.hh" #include "base/types.hh" #include "cpu/thread_context.hh" -namespace __hash_namespace { - template<> - struct hash : public hash { - size_t operator()(const ArmISA::ExtMachInst &emi) const { - return hash::operator()((uint32_t)emi); - }; - }; -} - namespace ArmISA { inline bool -- cgit v1.2.3