cpu: Removing an unused variable in rename

This commit is contained in:
Faissal Sleiman
2013-10-17 10:20:45 -05:00
parent 9195f1fbfd
commit 1746eb4a11

View File

@@ -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++;
}
}