Gabe Black has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/45227 )
Change subject: cpu: Get rid of the unused NumRegClasses constant.
......................................................................
cpu: Get rid of the unused NumRegClasses constant.
Change-Id: Icb2918a97f58a79159307a5d7cba877899268caa
---
M src/cpu/reg_class.hh
1 file changed, 0 insertions(+), 6 deletions(-)
diff --git a/src/cpu/reg_class.hh b/src/cpu/reg_class.hh
index 2f63865..7081409 100644
--- a/src/cpu/reg_class.hh
+++ b/src/cpu/reg_class.hh
@@ -77,12 +77,6 @@
RegIndex zeroReg() const { return _zeroReg; }
};
-/** Number of register classes.
- * This value is not part of the enum, because putting it there makes the
- * compiler complain about unhandled cases in some switch statements.
- */
-const int NumRegClasses = MiscRegClass + 1;
-
/** Register ID: describe an architectural register with its class and
index.
* This structure is used instead of just the register index to
disambiguate
* between different classes of registers. For example, a integer register
with
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/45227
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Icb2918a97f58a79159307a5d7cba877899268caa
Gerrit-Change-Number: 45227
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s