projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f6de18
)
cpu-o3: Add M5_VAR_USED to variable
author
Jason Lowe-Power
<jason@lowepower.com>
Tue, 3 Oct 2017 00:22:32 +0000
(17:22 -0700)
committer
Jason Lowe-Power
<jason@lowepower.com>
Thu, 19 Oct 2017 23:03:58 +0000
(23:03 +0000)
Fixes compile error for gem5.fast on CLANG due to unused variable.
Change-Id: Iabe777a27d75ee8bfa7b214fff577aed3c7582c7
Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-on: https://gem5-review.googlesource.com/4980
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/cpu/o3/scoreboard.hh
patch
|
blob
|
history
diff --git
a/src/cpu/o3/scoreboard.hh
b/src/cpu/o3/scoreboard.hh
index 1012bae5958f54550c7fa82b3d0253117e5a340f..f09b19540419e80f717bfac54fd77f855d2bb687 100644
(file)
--- a/
src/cpu/o3/scoreboard.hh
+++ b/
src/cpu/o3/scoreboard.hh
@@
-61,7
+61,7
@@
class Scoreboard
std::vector<bool> regScoreBoard;
/** The number of actual physical registers */
- unsigned numPhysRegs;
+ unsigned
M5_CLASS_VAR_USED
numPhysRegs;
public:
/** Constructs a scoreboard.