Jason Lowe-Power has submitted this change and it was merged. ( https://gem5-review.googlesource.com/4980 )

Change subject: cpu-o3: Add M5_VAR_USED to variable
......................................................................

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 <[email protected]>
Reviewed-on: https://gem5-review.googlesource.com/4980
Reviewed-by: Nikos Nikoleris <[email protected]>
---
M src/cpu/o3/scoreboard.hh
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Nikos Nikoleris: Looks good to me, approved
  Jason Lowe-Power: Looks good to me, approved



diff --git a/src/cpu/o3/scoreboard.hh b/src/cpu/o3/scoreboard.hh
index 1012bae..f09b195 100644
--- a/src/cpu/o3/scoreboard.hh
+++ b/src/cpu/o3/scoreboard.hh
@@ -61,7 +61,7 @@
     std::vector<bool> regScoreBoard;

     /** The number of actual physical registers */
-    unsigned numPhysRegs;
+    unsigned M5_CLASS_VAR_USED numPhysRegs;

   public:
     /** Constructs a scoreboard.

--
To view, visit https://gem5-review.googlesource.com/4980
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Iabe777a27d75ee8bfa7b214fff577aed3c7582c7
Gerrit-Change-Number: 4980
Gerrit-PatchSet: 3
Gerrit-Owner: Jason Lowe-Power <[email protected]>
Gerrit-Reviewer: Andreas Sandberg <[email protected]>
Gerrit-Reviewer: Gabe Black <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
Gerrit-Reviewer: Nikos Nikoleris <[email protected]>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to