mem-ruby: Check on PerfectCacheMemory deallocate
authorTiago Muck <tiago.muck@arm.com>
Wed, 17 Apr 2019 20:02:29 +0000 (15:02 -0500)
committerTiago Mück <tiago.muck@arm.com>
Wed, 6 May 2020 14:42:33 +0000 (14:42 +0000)
commitf4b4ff8d442b2cc73f6575391d15f6bc8aaba277
treefab6a7fb50335e59f7fe2b4df870abe74e252034
parentefa6c773b3330cdeeca07c4032902e87541c1d97
mem-ruby: Check on PerfectCacheMemory deallocate

Allowing deallocate to be called for non-existing blocks may hide
potential bugs.

Change-Id: Ida77e2db1da59d7cdb21d58968e1f17e75eaa6e0
Signed-off-by: Tiago Mück <tiago.muck@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21921
Reviewed-by: Pouya Fotouhi <pfotouhi@ucdavis.edu>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/ruby/structures/PerfectCacheMemory.hh