mem-cache: Remove mumBlock redundant initialiation from FALRU

Change-Id: Id3afec0a62446d6d0f44ccb655032343037637e0
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/8281
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
This commit is contained in:
Nikos Nikoleris
2016-10-31 15:52:15 +00:00
parent e5d98f6e63
commit 1d4717ab7e
2 changed files with 1 additions and 3 deletions

View File

@@ -91,7 +91,7 @@ class BaseTags : public ClockedObject
bool warmedUp;
/** the number of blocks in the cache */
unsigned numBlocks;
const unsigned numBlocks;
// Statistics
/**

View File

@@ -73,8 +73,6 @@ FALRU::FALRU(const Params *p)
cacheMask = 0;
}
numBlocks = size/blkSize;
blks = new FALRUBlk[numBlocks];
head = &(blks[0]);
tail = &(blks[numBlocks-1]);