summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2007-06-26 18:01:22 -0400
committerSteve Reinhardt <stever@eecs.umich.edu>2007-06-26 18:01:22 -0400
commit69ff6d9163c431272fc084b8e051996b44590a53 (patch)
treedc3e89d56da24ddaa854ba0150196508bd9679c8
parent7dacbcf49262605a75e461149ec7bd7a00fca7b7 (diff)
downloadgem5-69ff6d9163c431272fc084b8e051996b44590a53.tar.xz
cache_impl.hh:
Change target overflow from assertion to warning. src/mem/cache/cache_impl.hh: Change target overflow from assertion to warning. --HG-- extra : convert_revision : ceca990ed916bbf96dedd4836c40df522803f173
-rw-r--r--src/mem/cache/cache_impl.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/cache/cache_impl.hh b/src/mem/cache/cache_impl.hh
index d01adde78..a73612f24 100644
--- a/src/mem/cache/cache_impl.hh
+++ b/src/mem/cache/cache_impl.hh
@@ -892,9 +892,9 @@ Cache<TagStore,Coherence>::snoopTiming(PacketPtr pkt)
// better not be snooping a request that conflicts with something
// we have outstanding...
if (mshr && mshr->inService) {
- assert(mshr->getNumTargets() < numTarget); //handle later
mshr->allocateSnoopTarget(pkt, curTick, order++);
- assert(mshr->getNumTargets() < numTarget); //handle later
+ if (mshr->getNumTargets() > numTarget)
+ warn("allocating bonus target for snoop"); //handle later
return;
}