summaryrefslogtreecommitdiff
path: root/src/arch/sparc/registers.hh
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-10-15 20:45:45 -0700
committerGabe Black <gabeblack@google.com>2018-10-17 20:15:26 +0000
commit1c508a206f9e91aad52ef6b009940f622884f58a (patch)
treee2ba992f2f14294c73f1f996cc05ab6beed008a5 /src/arch/sparc/registers.hh
parente086e74a79df938351a742c0eaebff602c4ad97d (diff)
downloadgem5-1c508a206f9e91aad52ef6b009940f622884f58a.tar.xz
arch: Get rid of the unused type AnyReg.
This type is defined for all the ISAs but isn't used by anything. Change-Id: I659a0c5abc7883d82fedd1cac2cd103612d315c8 Reviewed-on: https://gem5-review.googlesource.com/c/13539 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/arch/sparc/registers.hh')
-rw-r--r--src/arch/sparc/registers.hh7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/arch/sparc/registers.hh b/src/arch/sparc/registers.hh
index 596fdf4d0..a7f4d2a15 100644
--- a/src/arch/sparc/registers.hh
+++ b/src/arch/sparc/registers.hh
@@ -62,13 +62,6 @@ using VecRegContainer = VecReg::Container;
// This has to be one to prevent warnings that are treated as errors
constexpr unsigned NumVecRegs = 1;
-typedef union
-{
- IntReg intReg;
- FloatReg fpreg;
- MiscReg ctrlreg;
-} AnyReg;
-
// semantically meaningful register indices
const int ZeroReg = 0; // architecturally meaningful
// the rest of these depend on the ABI