cache_impl.hh:
authorSteve Reinhardt <stever@eecs.umich.edu>
Tue, 26 Jun 2007 22:01:22 +0000 (18:01 -0400)
committerSteve Reinhardt <stever@eecs.umich.edu>
Tue, 26 Jun 2007 22:01:22 +0000 (18:01 -0400)
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

src/mem/cache/cache_impl.hh

index d01adde78094d113bdce28921d6f878218202717..a73612f2441d1914a91c941b1e1547f9359e8d3e 100644 (file)
@@ -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;
     }