diff options
author | Faissal Sleiman <Faissal.Sleiman@arm.com> | 2013-10-17 10:20:45 -0500 |
---|---|---|
committer | Faissal Sleiman <Faissal.Sleiman@arm.com> | 2013-10-17 10:20:45 -0500 |
commit | 1746eb4a1149a5eace7afb0dc39748b0a7a1a7eb (patch) | |
tree | 3ef6f5ee87643ce982015e49b0f74da3b02e0e33 /src | |
parent | 9195f1fbfd6c754c81271144f7e42e5102ec1d67 (diff) | |
download | gem5-1746eb4a1149a5eace7afb0dc39748b0a7a1a7eb.tar.xz |
cpu: Removing an unused variable in rename
Diffstat (limited to 'src')
-rw-r--r-- | src/cpu/o3/rename_impl.hh | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cpu/o3/rename_impl.hh b/src/cpu/o3/rename_impl.hh index 38191ce36..db7189371 100644 --- a/src/cpu/o3/rename_impl.hh +++ b/src/cpu/o3/rename_impl.hh @@ -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++; } } |