diff options
author | Daniel R. Carvalho <odanrc@yahoo.com.br> | 2018-12-07 10:50:31 +0100 |
---|---|---|
committer | Daniel Carvalho <odanrc@yahoo.com.br> | 2018-12-07 11:16:43 +0000 |
commit | 6d1e9ee7c573868519f18a6c8427c54cb3bfddb5 (patch) | |
tree | 6b284ecb63d78daf4ca28356c6c9576ab83ea4d8 /src | |
parent | 2d23bb08697f8fa552c21d337090077137fa7fb3 (diff) | |
download | gem5-6d1e9ee7c573868519f18a6c8427c54cb3bfddb5.tar.xz |
mem-cache: Workaround for setWhenReady assertion
Change 174da8e2da6a896d2e97bc264f9c827a0f4c35ac added an assert that
is not satisfiable with current implementation, breaking some
regression tests.
Change-Id: Ibafaf0c51906384364f0b2a4b931f8ec6126d858
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/14955
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mem/cache/cache_blk.hh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mem/cache/cache_blk.hh b/src/mem/cache/cache_blk.hh index 9ace496ce..611ce448d 100644 --- a/src/mem/cache/cache_blk.hh +++ b/src/mem/cache/cache_blk.hh @@ -284,7 +284,6 @@ class CacheBlk : public ReplaceableEntry */ void setWhenReady(const Tick tick) { - assert((whenReady == MaxTick) || (tick >= whenReady)); assert(tick >= tickInserted); whenReady = tick; } |