Fix compile of m5.fast
authorNathan Binkert <binkertn@umich.edu>
Fri, 20 Oct 2006 06:34:59 +0000 (23:34 -0700)
committerNathan Binkert <binkertn@umich.edu>
Fri, 20 Oct 2006 06:34:59 +0000 (23:34 -0700)
--HG--
extra : convert_revision : a8a37c318e55e48e697e4aaba339328f000b3f60

src/mem/bus.cc

index b11b6de58e1fd0874b7ec7650f08ee640ff92988..b3cc6099c13fbd5e86b2814227b6350d7a73ccdc 100644 (file)
@@ -160,9 +160,12 @@ Bus::recvTiming(Packet *pkt)
     short dest = pkt->getDest();
     if (dest == Packet::Broadcast) {
         if (timingSnoop(pkt)) {
+            bool success;
+
             pkt->flags |= SNOOP_COMMIT;
-            bool success = timingSnoop(pkt);
+            success = timingSnoop(pkt);
             assert(success);
+
             if (pkt->flags & SATISFIED) {
                 //Cache-Cache transfer occuring
                 if (inRetry) {