summaryrefslogtreecommitdiff
path: root/src/mem/physical.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/physical.hh')
-rw-r--r--src/mem/physical.hh6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mem/physical.hh b/src/mem/physical.hh
index cc733b2d6..3fb3510b8 100644
--- a/src/mem/physical.hh
+++ b/src/mem/physical.hh
@@ -118,11 +118,7 @@ class PhysicalMemory : public Serializable
std::string _name;
// Global address map
- AddrRangeMap<AbstractMemory*> addrMap;
-
- // a mutable cache for the last address map iterator that matched
- // an address
- mutable AddrRangeMap<AbstractMemory*>::const_iterator rangeCache;
+ AddrRangeMap<AbstractMemory*, 1> addrMap;
// All address-mapped memories
std::vector<AbstractMemory*> memories;