A few minor non-debug compilation issues.

--HG--
extra : convert_revision : d59a5cad6187a2229dddd1a48282ebd2923d1d8d
This commit is contained in:
Steve Reinhardt
2007-07-22 03:07:26 -04:00
parent 92ce2b5974
commit 1edd143b68
3 changed files with 4 additions and 1 deletions

View File

@@ -821,7 +821,9 @@ Cache<TagStore>::handleFill(PacketPtr pkt, BlkType *blk,
PacketList &writebacks)
{
Addr addr = pkt->getAddr();
#if TRACING_ON
CacheBlk::State old_state = blk ? blk->status : 0;
#endif
if (blk == NULL) {
// better have read new data...

View File

@@ -123,6 +123,7 @@ MSHRQueue::addToReadyList(MSHR *mshr)
}
}
assert(false);
return end; // keep stupid compilers happy
}

View File

@@ -300,7 +300,7 @@ Split::findBlock(Addr addr) const
SplitBlk*
Split::findReplacement(Addr addr, PacketList &writebacks)
{
SplitBlk *blk;
SplitBlk *blk = NULL;
assert(0);
#if 0