cpu: Removing an unused variable in rename
This commit is contained in:
@@ -338,14 +338,11 @@ DefaultRename<Impl>::squash(const InstSeqNum &squash_seq_num, ThreadID tid)
|
||||
renameStatus[tid] = Squashing;
|
||||
|
||||
// Squash any instructions from decode.
|
||||
unsigned squashCount = 0;
|
||||
|
||||
for (int i=0; i<fromDecode->size; i++) {
|
||||
if (fromDecode->insts[i]->threadNumber == tid &&
|
||||
fromDecode->insts[i]->seqNum > squash_seq_num) {
|
||||
fromDecode->insts[i]->setSquashed();
|
||||
wroteToTimeBuffer = true;
|
||||
squashCount++;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user