1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 157 unchanged lines hidden (view full) --- 166 if (m_use_map) { 167 assert(m_sparseMemory->exist(address)); 168 m_sparseMemory->remove(address); 169 } 170#if 0 171 else { 172 assert(isPresent(address)); 173 |
174 int64 index = address.memoryModuleIndex(); |
175 176 if (index < 0 || index > m_size) { 177 ERROR_MSG("Directory Memory Assertion: " 178 "accessing memory out of range."); 179 } 180 181 if (m_entries[index] != NULL){ 182 delete m_entries[index]; --- 30 unchanged lines hidden --- |