summaryrefslogtreecommitdiff
path: root/src/cpu/o3
diff options
context:
space:
mode:
authorJason Lowe-Power <jason@lowepower.com>2017-10-02 17:22:32 -0700
committerJason Lowe-Power <jason@lowepower.com>2017-10-19 23:03:58 +0000
commitcc52235454bc1bf60100e15043d89019b857d134 (patch)
tree92589a91c51d6a3c5a1c78ea48551e384a84c232 /src/cpu/o3
parent6f6de1888c07bff418d3f80a07872677b8699a33 (diff)
downloadgem5-cc52235454bc1bf60100e15043d89019b857d134.tar.xz
cpu-o3: Add M5_VAR_USED to variable
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>
Diffstat (limited to 'src/cpu/o3')
-rw-r--r--src/cpu/o3/scoreboard.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/o3/scoreboard.hh b/src/cpu/o3/scoreboard.hh
index 1012bae59..f09b19540 100644
--- 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.