From 22c04190c607b9360d9a23548f8a54e83cf0e74a Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Mon, 12 Oct 2015 04:07:59 -0400 Subject: misc: Remove redundant compiler-specific defines This patch moves away from using M5_ATTR_OVERRIDE and the m5::hashmap (and similar) abstractions, as these are no longer needed with gcc 4.7 and clang 3.1 as minimum compiler versions. --- src/mem/ruby/profiler/AddressProfiler.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mem/ruby/profiler/AddressProfiler.hh') diff --git a/src/mem/ruby/profiler/AddressProfiler.hh b/src/mem/ruby/profiler/AddressProfiler.hh index ebd44080b..9f12415c5 100644 --- a/src/mem/ruby/profiler/AddressProfiler.hh +++ b/src/mem/ruby/profiler/AddressProfiler.hh @@ -30,8 +30,8 @@ #define __MEM_RUBY_PROFILER_ADDRESSPROFILER_HH__ #include +#include -#include "base/hashmap.hh" #include "mem/protocol/AccessType.hh" #include "mem/protocol/RubyRequest.hh" #include "mem/ruby/common/Address.hh" @@ -44,7 +44,7 @@ class Set; class AddressProfiler { public: - typedef m5::hash_map AddressMap; + typedef std::unordered_map AddressMap; public: AddressProfiler(int num_of_sequencers, Profiler *profiler); -- cgit v1.2.3